From 47df5bbcc5aecefb12e00ce43cdb1e5e2b3bed0e Mon Sep 17 00:00:00 2001 From: ondrej Date: Sun, 12 Jun 2016 08:32:47 +0000 Subject: [PATCH] lazutils: fix comment from r52480 #b13ba1b0b9 git-svn-id: trunk@52486 - --- components/lazutils/winlazutf8.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazutils/winlazutf8.inc b/components/lazutils/winlazutf8.inc index 0228d5ea79..69e9edd3c8 100644 --- a/components/lazutils/winlazutf8.inc +++ b/components/lazutils/winlazutf8.inc @@ -371,7 +371,7 @@ begin //Use Widestring Api so it works on WinCE as well GLI := GetLocaleInfoW(aLocaleID, aLCType, Buf, Length(Buf)); // GLI is char count with the ending #0 char if GLI > 2 then - begin // more than 2 chars -> try to find first non-space character + begin // more than 1 char -> try to find first non-space character for I := 0 to GLI-2 do begin WRes := Buf[I];