[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
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue