[INTERPRETER]
* BUG: Fix a crash when using CStr() on an object having a conversion function. git-svn-id: svn://localhost/gambas/trunk@6056 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
e0469073ab
commit
018b33696b
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ __OBJECT:
|
|||
if (class->has_convert)
|
||||
{
|
||||
void *unref = value->_object.object;
|
||||
bool old_type = value->type;
|
||||
TYPE old_type = value->type;
|
||||
|
||||
if (!((*class->convert)(value->_object.object, type, value)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue