Strlen idiot

This commit is contained in:
Dale Weiler 2013-06-15 07:42:01 +00:00
parent fee7794789
commit 7115176c0e

View file

@ -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 * We should also consider adding correction tables for
* other things as well. * 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; correction_t corr;
correct_init(&corr); correct_init(&corr);