diff --git a/main/gbx/gbx_subr_string.c b/main/gbx/gbx_subr_string.c index b56de39db..6d1c07421 100644 --- a/main/gbx/gbx_subr_string.c +++ b/main/gbx/gbx_subr_string.c @@ -174,8 +174,10 @@ void SUBR_file(ushort code) for (i = 0; i < NPARAM; i++) { - /*VALUE_conv(&PARAM[i], T_STRING);*/ - SUBR_get_string_len(&PARAM[i], &addr, &len); + VALUE_conv_string(&PARAM[i]); + addr = PARAM[i]._string.addr; + len = PARAM[i]._string.len; + //SUBR_get_string_len(&PARAM[i], &addr, &len); if (len > 0) {