[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:
parent
4270c30d20
commit
a0ec1ab2d6
1 changed files with 5 additions and 1 deletions
|
@ -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] == '"')
|
||||
|
|
Loading…
Reference in a new issue