Skip to content

Commit

Permalink
Fixed operators
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLSPACE committed Feb 23, 2015
1 parent d39d2ca commit 9e1db16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Bindings/ManualBindings.cpp
Expand Up @@ -115,9 +115,9 @@ static int tolua_CompressStringZLIB(lua_State * tolua_S)
{
cLuaState S(tolua_S);
if (
!S.CheckParamString(1) &&
!S.CheckParamString(1) ||
(
!S.CheckParamNumber(2) ||
!S.CheckParamNumber(2) &&
!S.CheckParamEnd(2)
)
)
Expand Down Expand Up @@ -146,7 +146,7 @@ static int tolua_UncompressStringZLIB(lua_State * tolua_S)
{
cLuaState S(tolua_S);
if (
!S.CheckParamString(1) &&
!S.CheckParamString(1) ||
!S.CheckParamNumber(2)
)
{
Expand Down Expand Up @@ -174,7 +174,7 @@ static int tolua_CompressStringGZIP(lua_State * tolua_S)
{
cLuaState S(tolua_S);
if (
!S.CheckParamString(1) &&
!S.CheckParamString(1) ||
!S.CheckParamEnd(2)
)
{
Expand All @@ -201,7 +201,7 @@ static int tolua_UncompressStringGZIP(lua_State * tolua_S)
{
cLuaState S(tolua_S);
if (
!S.CheckParamString(1) &&
!S.CheckParamString(1) ||
!S.CheckParamEnd(2)
)
{
Expand All @@ -228,7 +228,7 @@ static int tolua_InflateString(lua_State * tolua_S)
{
cLuaState S(tolua_S);
if (
!S.CheckParamString(1) &&
!S.CheckParamString(1) ||
!S.CheckParamEnd(2)
)
{
Expand Down

0 comments on commit 9e1db16

Please sign in to comment.