[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:
Benoît Minisini 2011-09-06 02:32:34 +00:00
parent a5254d6268
commit 37894ac0db

View file

@ -232,7 +232,10 @@ void SUBR_trim(ushort code)
SUBR_GET_PARAM(1);
if (SUBR_check_string(PARAM))
{
STRING_void_value(PARAM);
return;
}
code &= 0x1F;
left = (code == 0 || code == 1);