summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:24:47 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 02:24:47 -0500
commit24e982a0615f0b27e3a91cf3a83337f901733b70 (patch)
tree2b5648a5c1e56c164d0971a34984736ca2fefda3
parentfd88ae0c2eaf9e5e0c1f7d7956d8536dbb77d0cd (diff)
downloadknights-24e982a0.tar.gz
knights-24e982a0.zip
Fix inadvertent "TQ" changes.
-rw-r--r--knights/definitions.h2
-rw-r--r--knights/knights.cpp6
-rw-r--r--knights/logic.cpp2
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 */