diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-12-06 22:01:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-12-06 22:01:28 (GMT) |
commit | 26900a104b33c385891727b53b4a5329a7851ee9 (patch) | |
tree | ab162a1a662087d788e97596a2df959c4851ce92 /generic/tkIcu.c | |
parent | 469e467cf68cf302858225ae0a3e1ea24f82d54e (diff) | |
download | tk-26900a104b33c385891727b53b4a5329a7851ee9.zip tk-26900a104b33c385891727b53b4a5329a7851ee9.tar.gz tk-26900a104b33c385891727b53b4a5329a7851ee9.tar.bz2 |
off-by-one in icu
Diffstat (limited to 'generic/tkIcu.c')
-rw-r--r-- | generic/tkIcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkIcu.c b/generic/tkIcu.c index e7817e5..b79694d 100644 --- a/generic/tkIcu.c +++ b/generic/tkIcu.c @@ -216,7 +216,7 @@ Icu_Init( /* Going back down to ICU version 50 */ while ((icu_fns.lib == NULL) && (icuversion[1] >= '5')) { - if (icuversion[2]-- < '0') { + if (--icuversion[2] < '0') { icuversion[1]--; icuversion[2] = '9'; } #if defined(_WIN32) && !defined(STATIC_BUILD) |