From 3e8f6a3c8ff68cda1cb4cbccc27910e93190a005 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Feb 2013 21:24:11 +0000 Subject: 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 --- src/modules/utils/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/utils/utils.cpp') 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); -- cgit v1.2.3