1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

Fix typo.

This commit is contained in:
James Snyder 2009-09-15 17:45:45 +00:00
parent b0cad2c5d8
commit 8c21802c97

View File

@ -815,7 +815,7 @@ static int helper_get(lua_State *L, Helper *helper )
{ {
switch( e.type ) switch( e.type )
{ {
deal_with_error( L, h->handle, errorString( e.errnum ) ); deal_with_error( L, helper->handle, errorString( e.errnum ) );
case nonfatal: case nonfatal:
lua_pushnil( L ); lua_pushnil( L );
return 1; return 1;
@ -936,7 +936,7 @@ static int helper_call (lua_State *L)
{ {
switch( e.type ) switch( e.type )
{ {
deal_with_error( L, h->handle, errorString( e.errnum ) ); deal_with_error( L, h->handle, errorString( e.errnum ) );
case nonfatal: case nonfatal:
lua_pushnil( L ); lua_pushnil( L );
return 1; return 1;
@ -993,7 +993,7 @@ static int helper_newindex( lua_State *L )
{ {
switch( e.type ) switch( e.type )
{ {
deal_with_error( L, h->handle, errorString( e.errnum ) ); deal_with_error( L, h->handle, errorString( e.errnum ) );
case nonfatal: case nonfatal:
lua_pushnil( L ); lua_pushnil( L );
return 1; return 1;