From be6c0584240caf420b2475a0be036391e842e8af Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 24 Jul 2010 10:14:39 +0000 Subject: (svn r20211) -Codechange: Indented code should have curly braces around it. --- src/strgen/strgen.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/strgen') diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp index d71f545a8..817faab16 100644 --- a/src/strgen/strgen.cpp +++ b/src/strgen/strgen.cpp @@ -524,8 +524,9 @@ static void HandlePragma(char *str) strecpy(_lang_isocode, str + 8, lastof(_lang_isocode)); } else if (!memcmp(str, "plural ", 7)) { _lang_pluralform = atoi(str + 7); - if (_lang_pluralform >= lengthof(_plural_forms)) + if (_lang_pluralform >= lengthof(_plural_forms)) { error("Invalid pluralform %d", _lang_pluralform); + } } else if (!memcmp(str, "textdir ", 8)) { if (!memcmp(str + 8, "ltr", 3)) { _lang_textdir = TD_LTR; -- cgit v1.2.3-54-g00ecf