mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
Strlen idiot
This commit is contained in:
parent
fee7794789
commit
7115176c0e
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -1936,7 +1936,7 @@ static bool parse_sya_operand(parser_t *parser, shunt *sy, bool with_labels)
|
|||
* We should also consider adding correction tables for
|
||||
* other things as well.
|
||||
*/
|
||||
if (OPTS_OPTION_BOOL(OPTION_CORRECTION) && parser_tokval(parser) <= 16) {
|
||||
if (OPTS_OPTION_BOOL(OPTION_CORRECTION) && strlen(parser_tokval(parser)) <= 16) {
|
||||
correction_t corr;
|
||||
correct_init(&corr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue