From 09e8a2f3b77e55ebe6a3bac8e3cd67611ab23227 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 13 Apr 2012 02:24:47 -0500 Subject: [PATCH] Fix inadvertent "TQ" changes. (cherry picked from commit 24e982a0615f0b27e3a91cf3a83337f901733b70) --- knights/definitions.h | 2 +- knights/knights.cpp | 6 +++--- knights/logic.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/knights/definitions.h b/knights/definitions.h index 3afe104..5f1124e 100644 --- a/knights/definitions.h +++ b/knights/definitions.h @@ -72,7 +72,7 @@ const int MENU_LOAD = 0x02; const int MENU_SAVE = 0x03; const int MENU_SAVEAS = 0x04; const int MENU_PRINT = 0x05; -const int MENU_TQUIT = 0x06; +const int MENU_QUIT = 0x06; const int MENU_CLOSE = 0x08; const int MENU_CLOSEALL = 0x09; const int MENU_CONNECT = 0x0A; diff --git a/knights/knights.cpp b/knights/knights.cpp index 30e4a8e..f8f3d95 100644 --- a/knights/knights.cpp +++ b/knights/knights.cpp @@ -341,10 +341,10 @@ void Knights::initMenus( void ) fileMenu->setItemEnabled( MENU_CLOSEALL, FALSE ); fileMenu->setWhatsThis( MENU_CLOSEALL, i18n( "This command will remove all matches that are currently loaded." ) ); fileMenu->insertSeparator(); - // MENU_TQUIT + // MENU_QUIT fileMenu->insertItem( TQIconSet( Resource->LoadIcon( TQString("exit"), KIcon::Small ) ), - i18n( "&Quit" ), this, TQT_SLOT(menuClose()), CTRL+Key_Q, MENU_TQUIT ); - fileMenu->setWhatsThis( MENU_TQUIT, i18n( "The Quit command will stop all matches and exit Knights." ) ); + i18n( "&Quit" ), this, TQT_SLOT(menuClose()), CTRL+Key_Q, MENU_QUIT ); + fileMenu->setWhatsThis( MENU_QUIT, i18n( "The Quit command will stop all matches and exit Knights." ) ); /* settingsMenu menu */ diff --git a/knights/logic.cpp b/knights/logic.cpp index 95baa78..0622a21 100644 --- a/knights/logic.cpp +++ b/knights/logic.cpp @@ -1064,7 +1064,7 @@ void logic::_HashLegal( const bool Recursion ) switch( chessman[ManPtr].Type ) { - /* ROOK & TQUEEN */ + /* ROOK & QUEEN */ case Rook: case Queen: /* Positive Rank Movement */