projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sink.text.pretty: comma in enum fields
[babeltrace.git]
/
plugins
/
text
/
pretty
/
print.c
diff --git
a/plugins/text/pretty/print.c
b/plugins/text/pretty/print.c
index efcf2b885d3d6523f52218e3e86fec0226f12de1..a3f94b96fd140ffbcd9cfb8045f3c00d32c83986 100644
(file)
--- a/
plugins/text/pretty/print.c
+++ b/
plugins/text/pretty/print.c
@@
-717,7
+717,7
@@
int print_enum(struct pretty_component *pretty,
for (i = 0; i < label_count; i++) {
const char *mapping_name = label_array[i];
- if (i
=
= 0) {
+ if (i
!
= 0) {
g_string_append(pretty->string, ", ");
}
if (pretty->use_colors) {
This page took
0.024687 seconds
and
4
git commands to generate.