summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-09-17 11:03:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-09-17 11:03:18 +0000
commit8dd8bfc750f75dd0d89342fd59130516352100a9 (patch)
tree2a31ff4c538c68f8378d1b1c9f2a4416ca501e4a /plugins/AutoRun/src
parent111745a87ba9ae1c3b750534f89afdd503f1aec8 (diff)
AUtorun: small fixes (still needs to be fixed properly)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1587 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoRun/src')
-rw-r--r--plugins/AutoRun/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp
index 1f023cd2b9..c953afe6f1 100644
--- a/plugins/AutoRun/src/main.cpp
+++ b/plugins/AutoRun/src/main.cpp
@@ -47,14 +47,14 @@ static void SetAutorun(BOOL autorun)
{
TCHAR result[MAX_PATH];
GetProfilePath(result);
- RegSetValueEx(hKey, _T("MirandaIM"), 0, REG_SZ, (BYTE*)result, lstrlen(result)+1);
+ RegSetValueEx(hKey, _T("MirandaNG"), 0, REG_SZ, (BYTE*)result, lstrlen(result)+1);
RegCloseKey(hKey);
break;
}
case FALSE:
if (RegOpenKey(ROOT_KEY, SUB_KEY, &hKey) == ERROR_SUCCESS)
{
- RegDeleteValue(hKey, _T("MirandaIM"));
+ RegDeleteValue(hKey, _T("MirandaNG"));
RegCloseKey(hKey);
break;
}
@@ -70,7 +70,7 @@ static BOOL CmpCurrentAndRegistry()
if (RegOpenKeyEx(ROOT_KEY, SUB_KEY, 0, KEY_QUERY_VALUE, &hKey) == ERROR_SUCCESS)
{
- if (RegQueryValueEx(hKey, _T("MirandaIM"), NULL, NULL, (LPBYTE)dbpath, &dwBufLen) == ERROR_SUCCESS)
+ if (RegQueryValueEx(hKey, _T("MirandaNG"), NULL, NULL, (LPBYTE)dbpath, &dwBufLen) == ERROR_SUCCESS)
{
return (lstrcmpi(result,dbpath) == 0 ? TRUE : FALSE);
}
@@ -117,7 +117,7 @@ static int AutorunOptInitialise(WPARAM wParam,LPARAM lParam)
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_AUTORUN);
odp.pszTitle = LPGEN(ModuleName);
- odp.pszGroup = LPGEN("Plugins");
+ odp.pszGroup = LPGEN("Events");
odp.pfnDlgProc = DlgProcAutorunOpts;
odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);