summaryrefslogtreecommitdiffstats
path: root/src/modules/setup/setupwizard.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-04-13 02:36:47 -0500
committerDarrell Anderson <[email protected]>2012-04-13 02:36:47 -0500
commita24a8595fc6663038f6ce26cfed6276910eef984 (patch)
treed8e1a65d9464de15750b6680820b828f9ab29406 /src/modules/setup/setupwizard.cpp
parent00ec3a9a04347a4c1ab434944fecd5e56607b13d (diff)
downloadkvirc-a24a8595fc6663038f6ce26cfed6276910eef984.tar.gz
kvirc-a24a8595fc6663038f6ce26cfed6276910eef984.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'src/modules/setup/setupwizard.cpp')
-rw-r--r--src/modules/setup/setupwizard.cpp6
1 files changed, 3 insertions, 3 deletions
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);