From 35eca590ad490d6f2b53b8a2e7dd0ce2fbabe710 Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Thu, 25 Oct 2007 08:59:30 +0200 Subject: Tell xgettext that "ARG1 % ARG2" is not a C format string. * src/expr.c (usage): Add a comment to override xgettext's default behavior, which would classify "ARG1 % ARG2" as a fprintf-style format string. --- src/expr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/expr.c b/src/expr.c index c800065c6..cd498f645 100644 --- a/src/expr.c +++ b/src/expr.c @@ -128,6 +128,8 @@ separates increasing precedence groups. EXPRESSION may be:\n\ ARG1 + ARG2 arithmetic sum of ARG1 and ARG2\n\ ARG1 - ARG2 arithmetic difference of ARG1 and ARG2\n\ "), stdout); + /* Tell xgettext that the "% A" below is not a printf-style + format string: xgettext:no-c-format */ fputs (_("\ \n\ ARG1 * ARG2 arithmetic product of ARG1 and ARG2\n\ -- cgit v1.2.3-70-g09d2