summaryrefslogtreecommitdiff
path: root/src/fl_utf8.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 18:12:40 +0500
commitb4995f979d127cea667b4e2b71c91e9db4ab52ef (patch)
treefbebc775e10932bace8d6a7c3481b1ba200c64db /src/fl_utf8.cxx
parent9575eb0a1ffa8150f70f88b5f6b55f342c3c0088 (diff)
wip
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) {