From a24a8595fc6663038f6ce26cfed6276910eef984 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 13 Apr 2012 02:36:47 -0500 Subject: Fix inadvertent "TQ" changes. --- src/modules/setup/libkvisetup.cpp | 2 +- src/modules/setup/setupwizard.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/setup') diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp index d5989c9..0fc0495 100644 --- a/src/modules/setup/libkvisetup.cpp +++ b/src/modules/setup/libkvisetup.cpp @@ -77,7 +77,7 @@ KVIMODULEEXPORTFUNC void setup_finish() // Reset the quit message and the real name... if they contain the KVIrc version // then probably the user hasn't even edited them. if(KVI_OPTION_STRING(KviOption_stringQuitMessage).find("KVIrc",0,false) != -1) - KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_TQUIT_MESSAGE; + KVI_OPTION_STRING(KviOption_stringQuitMessage) = KVI_DEFAULT_QUIT_MESSAGE; // We deserve to change the user's part message in something nice :) KVI_OPTION_STRING(KviOption_stringPartMessage) = KVI_DEFAULT_PART_MESSAGE; diff --git a/src/modules/setup/setupwizard.cpp b/src/modules/setup/setupwizard.cpp index dd0e8a9..20ca97b 100644 --- a/src/modules/setup/setupwizard.cpp +++ b/src/modules/setup/setupwizard.cpp @@ -588,9 +588,9 @@ KviSetupWizard::KviSetupWizard() } //mIRC import - #define TQUERY_BUFFER 2048 + #define QUERY_BUFFER 2048 char* buffer; - DWORD len = TQUERY_BUFFER; + DWORD len = QUERY_BUFFER; buffer = (char*)malloc(len*sizeof(char)); HKEY hKey; TQString szMircDir; @@ -796,7 +796,7 @@ void KviSetupWizard::makeLink() // Dig in the registry looking up the Desktop path if(RegOpenKeyEx(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders", - 0,KEY_TQUERY_VALUE,&hCU) == ERROR_SUCCESS) + 0,KEY_QUERY_VALUE,&hCU) == ERROR_SUCCESS) { RegQueryValueEx(hCU,"Desktop",NULL,&lpType, (unsigned char *)&szLink,&ulSize); -- cgit v1.2.3