Changeset 114 for trunk/src/gui


Ignore:
Timestamp:
06/11/13 19:25:36 (12 years ago)
Author:
epyon
Message:
  • texture_font - fixes
  • gui_style - fixes
  • position - added missing accessors and expand/shrink
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/gui_style.cc

    r104 r114  
    7474        // check id
    7575        lua_getfield( m_lua, -1, cid );
    76         if ( !lua_istable( m_lua, -1 ) )
     76        if ( lua_istable( m_lua, -1 ) )
    7777        {
    7878                lua_getfield( m_lua, -1, centry );
     
    8383        // check class
    8484        lua_getfield( m_lua, -1, cclass );
    85         if ( !lua_istable( m_lua, -1 ) )
     85        if ( lua_istable( m_lua, -1 ) )
    8686        {
    8787                lua_getfield( m_lua, -1, centry );
     
    9191
    9292        // check entry
    93         lua_getfield( m_lua, -1, cclass );
     93        lua_getfield( m_lua, -1, centry );
    9494        if ( lua_type( m_lua, -1 ) == type ) return true;
    9595        return false;
Note: See TracChangeset for help on using the changeset viewer.