summaryrefslogtreecommitdiff
path: root/updater/extern.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-12-03 05:42:39 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2010-12-03 05:42:39 +0000
commitc85beefd3a445d56a59c3b38426cec3986746446 (patch)
tree31184c91554a7ea2c99fd5db7f76bbc301348420 /updater/extern.cpp
parent738d3aedb9eca3f49e96f096dcc7a5f55a83e371 (diff)
Fixed Updates in some cases
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@579 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'updater/extern.cpp')
-rw-r--r--updater/extern.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/updater/extern.cpp b/updater/extern.cpp
index 2f599dd..0c7f8c0 100644
--- a/updater/extern.cpp
+++ b/updater/extern.cpp
@@ -112,12 +112,10 @@ int ExternProcess(bool restart)
if (IsWinVerXPPlus())
{
mir_sntprintf(szParams, SIZEOF(szParams), _T("RUNDLL32.EXE \"%s\",ExternalUpdate %s"), szBuf, data_filename);
-// szProcDir = NULL;
}
else
{
TCHAR* p = _tcsrchr(szBuf, _T('\\')); if (p) *p = 0;
-// szProcDir = szBuf;
// rundll32 hates spaces in the <dll name> arg, but quotes aren't allowed in earlier versions...
// GetShortPath can return paths with spaces (at least on XP with 8.3 filenames disabled)...