summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-28 21:24:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-28 21:24:11 +0000
commit3e8f6a3c8ff68cda1cb4cbccc27910e93190a005 (patch)
tree327eaeeb53e3a53682ac73e2fe34d1f54eba598f
parent9060bf2b23f86be8eaecbdc90262a8d1c0e7b374 (diff)
fix for the command line length in MS_SYSTEM_RESTART
git-svn-id: http://svn.miranda-ng.org/main/trunk@3810 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/utils/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/utils/utils.cpp b/src/modules/utils/utils.cpp
index 8c577679c5..b3e2b1487a 100644
--- a/src/modules/utils/utils.cpp
+++ b/src/modules/utils/utils.cpp
@@ -423,7 +423,7 @@ static INT_PTR RestoreWindowPosition(WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
static INT_PTR RestartMiranda(WPARAM wParam, LPARAM)
{
- TCHAR mirandaPath[MAX_PATH], cmdLine[100];
+ TCHAR mirandaPath[MAX_PATH], cmdLine[MAX_PATH];
PROCESS_INFORMATION pi;
STARTUPINFO si = {0};
si.cb = sizeof(si);