c-format subtleties



Hi,

I just fixed a bug in the German glib translations (bug 310731), which
consisted in replacing "%-.*s" by "%s". This is a bug since the * here
is actually a placeholder for an integer, so the first string gets
replaced by an int, char* pair of arguments, while the second only
consumes a char*.

So please, if you are not sure what exactly a printf placeholder stands
for, leave it untouched.

Thanks, 

Matthias



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]