Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aidinabedi committed Dec 27, 2009
1 parent 8949db0 commit b8e7edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShinyLua/src/ShinyLua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ int ShinyLua_damping(lua_State *L) {
/*---------------------------------------------------------------------------*/

int ShinyLua_start(lua_State *L) {
if (is_running) return;
if (is_running) return 0;
is_running = 1;
lua_sethook(L, callhook, LUA_MASKCALL | LUA_MASKRET, 0);
return 0;
Expand All @@ -206,7 +206,7 @@ int ShinyLua_start(lua_State *L) {
/*---------------------------------------------------------------------------*/

int ShinyLua_stop(lua_State *L) {
if (!is_running) return;
if (!is_running) return 0;
is_running = 0;
lua_sethook(L, callhook, 0, 0);
return 0;
Expand Down

0 comments on commit b8e7edf

Please sign in to comment.