diff options
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 3 | ||||
-rw-r--r-- | src/love/love.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index 90c9ac1..e31e157 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -1613,11 +1613,12 @@ static void outputRawStatement(FILE *file, outputMode mode, LSL_Statement *state | |||
1613 | fprintf(file, " "); | 1613 | fprintf(file, " "); |
1614 | if (LSL_ELSE != statement->type) | 1614 | if (LSL_ELSE != statement->type) |
1615 | { | 1615 | { |
1616 | fprintf(file, "_LSL.toBool("); | ||
1616 | if (statement->parenthesis) | 1617 | if (statement->parenthesis) |
1617 | outputRawParenthesisToken(file, mode, statement->parenthesis, ""); | 1618 | outputRawParenthesisToken(file, mode, statement->parenthesis, ""); |
1618 | else | 1619 | else |
1619 | outputLeaf(file, mode, statement->expressions); | 1620 | outputLeaf(file, mode, statement->expressions); |
1620 | fprintf(file, " then\n"); | 1621 | fprintf(file, ") then\n"); |
1621 | } | 1622 | } |
1622 | if (statement->block) | 1623 | if (statement->block) |
1623 | outputRawBlock(file, mode, statement->block, FALSE); | 1624 | outputRawBlock(file, mode, statement->block, FALSE); |
diff --git a/src/love/love.c b/src/love/love.c index db4c557..858ba40 100644 --- a/src/love/love.c +++ b/src/love/love.c | |||
@@ -436,7 +436,7 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e | |||
436 | sendForth(ourGlobals->serverLuaSL, me->SID, "events.dataserver(\"%s\", \"%s\")", key, temp); | 436 | sendForth(ourGlobals->serverLuaSL, me->SID, "events.dataserver(\"%s\", \"%s\")", key, temp); |
437 | } | 437 | } |
438 | else | 438 | else |
439 | sendForth(ourGlobals->serverLuaSL, me->SID, "events.dataserver(\"%s\", [[\\n\\n\\n]])", key); | 439 | sendForth(ourGlobals->serverLuaSL, me->SID, "events.dataserver(\"%s\", \"EndOfFuckingAround\")", key); |
440 | } | 440 | } |
441 | 441 | ||
442 | close(fd); | 442 | close(fd); |