c-format subtleties
- From: Matthias Clasen <mclasen redhat com>
- To: gnome-i18n gnome org
- Subject: c-format subtleties
- Date: Mon, 18 Jul 2005 09:29:20 -0400
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]