summaryrefslogtreecommitdiff
path: root/src/fl_utf8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_utf8.cxx')
-rw-r--r--src/fl_utf8.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fl_utf8.cxx b/src/fl_utf8.cxx
index 2c52a04b6..1c8be67e3 100644
--- a/src/fl_utf8.cxx
+++ b/src/fl_utf8.cxx
@@ -72,7 +72,8 @@ static int Toupper(int ucs) {
bool test(const char *str) {
if (str == 0) return true;
const char *src = str;
- for (int p = 0; ; p++) {
+ int p;
+ for (p = 0; ; p++) {
if (src == 0) return true;
int len = fl_utf8len(*src);
if (len == -1) {