Fix an internal common string routine used by thousand separator management.
[INTERPRETER] * BUG: Fix an internal common string routine used by thousand separator management.
This commit is contained in:
parent
c13f650c8f
commit
4da8ee251a
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ int COMMON_get_size_left(void)
|
||||||
|
|
||||||
bool COMMON_has_string(const char *str, int len)
|
bool COMMON_has_string(const char *str, int len)
|
||||||
{
|
{
|
||||||
if (COMMON_get_size_left() > len)
|
if (COMMON_get_size_left() < len)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return memcmp(&common_buffer[COMMON_pos], str, len) == 0;
|
return memcmp(&common_buffer[COMMON_pos], str, len) == 0;
|
||||||
|
|
Loading…
Reference in a new issue