diff options
Diffstat (limited to 'src/editor/editor_menubar.cpp')
| -rw-r--r-- | src/editor/editor_menubar.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/editor/editor_menubar.cpp b/src/editor/editor_menubar.cpp index 5491c05..c15053f 100644 --- a/src/editor/editor_menubar.cpp +++ b/src/editor/editor_menubar.cpp @@ -267,12 +267,12 @@ static void editor_toolbar_invoke( const EDITOR_MENUBAR_ENTRY* root, const EDITO return; } if( !strcmp( root->text, "tools" ) ) { - if( !strcmp( entry->text, "none" ) ) settool( EDITOR_TOOL_NONE ); - else if( !strcmp( entry->text, "select" ) ) settool( EDITOR_TOOL_SELECT ); - else if( !strcmp( entry->text, "wall" ) ) settool( EDITOR_TOOL_WALL ); - else if( !strcmp( entry->text, "poly" ) ) settool( EDITOR_TOOL_POLY ); - else if( !strcmp( entry->text, "sprite" ) ) settool( EDITOR_TOOL_SPRITE ); - else if( !strcmp( entry->text, "ent" ) ) settool( EDITOR_TOOL_ENT ); + if( !strcmp( entry->text, "none" ) ) editor_settool( EDITOR_TOOL_NONE ); + else if( !strcmp( entry->text, "select" ) ) editor_settool( EDITOR_TOOL_SELECT ); + else if( !strcmp( entry->text, "wall" ) ) editor_settool( EDITOR_TOOL_WALL ); + else if( !strcmp( entry->text, "poly" ) ) editor_settool( EDITOR_TOOL_POLY ); + else if( !strcmp( entry->text, "sprite" ) ) editor_settool( EDITOR_TOOL_SPRITE ); + else if( !strcmp( entry->text, "ent" ) ) editor_settool( EDITOR_TOOL_ENT ); } } |
