- Timestamp:
- 06/11/13 19:25:36 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gfx/texture_font.cc
r103 r114 28 28 m_hinting( true ), m_filtering( true ), m_rlibrary( nullptr ), m_rface( nullptr ) 29 29 { 30 load_freetype_library(); 30 31 size_t hres = 64; 31 32 FT_Error error; -
trunk/src/gui/gui_style.cc
r104 r114 74 74 // check id 75 75 lua_getfield( m_lua, -1, cid ); 76 if ( !lua_istable( m_lua, -1 ) )76 if ( lua_istable( m_lua, -1 ) ) 77 77 { 78 78 lua_getfield( m_lua, -1, centry ); … … 83 83 // check class 84 84 lua_getfield( m_lua, -1, cclass ); 85 if ( !lua_istable( m_lua, -1 ) )85 if ( lua_istable( m_lua, -1 ) ) 86 86 { 87 87 lua_getfield( m_lua, -1, centry ); … … 91 91 92 92 // check entry 93 lua_getfield( m_lua, -1, c class);93 lua_getfield( m_lua, -1, centry ); 94 94 if ( lua_type( m_lua, -1 ) == type ) return true; 95 95 return false;
Note: See TracChangeset
for help on using the changeset viewer.