[INTERPRETER]

* BUG: Html$() now automatically converts its argument to a string.


git-svn-id: svn://localhost/gambas/trunk@1785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2009-01-05 10:25:50 +00:00
parent 4270c30d20
commit a0ec1ab2d6

View file

@ -1029,7 +1029,11 @@ void SUBR_unquote(void)
SUBR_ENTER_PARAM(1);
SUBR_get_string_len(&PARAM[0], &str, &lstr);
VALUE_conv_string(&PARAM[0]);
str = PARAM->_string.addr + PARAM->_string.start;
lstr = PARAM->_string.len;
STRING_start_len(lstr);
if (lstr >= 2 && str[0] == '"' && str[lstr - 1] == '"')