ostree: Fix bug printing out commit body
Body was printed out repeated and mangled due to bad printf format string. https://bugzilla.gnome.org/show_bug.cgi?id=707067
This commit is contained in:
parent
8fce2513e9
commit
1a708accf1
|
|
@ -72,7 +72,7 @@ dump_indented_lines (const gchar *data)
|
||||||
pos = strchr (data, '\n');
|
pos = strchr (data, '\n');
|
||||||
if (pos)
|
if (pos)
|
||||||
{
|
{
|
||||||
g_print ("%s%*s", indent, (int)(pos + 1 - data), data);
|
g_print ("%s%.*s", indent, (int)(pos + 1 - data), data);
|
||||||
data = pos + 1;
|
data = pos + 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue