[INTERPRETER]
* BUG: Fix a bug in type transitivity in Trim(). git-svn-id: svn://localhost/gambas/trunk@4095 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
a5254d6268
commit
37894ac0db
@ -232,7 +232,10 @@ void SUBR_trim(ushort code)
|
|||||||
SUBR_GET_PARAM(1);
|
SUBR_GET_PARAM(1);
|
||||||
|
|
||||||
if (SUBR_check_string(PARAM))
|
if (SUBR_check_string(PARAM))
|
||||||
|
{
|
||||||
|
STRING_void_value(PARAM);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
code &= 0x1F;
|
code &= 0x1F;
|
||||||
left = (code == 0 || code == 1);
|
left = (code == 0 || code == 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user