diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:36:47 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 02:36:47 -0500 |
commit | a24a8595fc6663038f6ce26cfed6276910eef984 (patch) | |
tree | d8e1a65d9464de15750b6680820b828f9ab29406 /src/modules/setup | |
parent | 00ec3a9a04347a4c1ab434944fecd5e56607b13d (diff) | |
download | kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.tar.gz kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.zip |
Fix inadvertent "TQ" changes.
Diffstat (limited to 'src/modules/setup')
-rw-r--r-- | src/modules/setup/libkvisetup.cpp | 2 | ||||
-rw-r--r-- | src/modules/setup/setupwizard.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/setup/libkvisetup.cpp b/src/modules/setup/libkvisetup.cpp index d5989c98..0fc04952 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 dd0e8a9b..20ca97be 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); |