fix allocation size for single-instance message under Windows

svn: r12676
This commit is contained in:
Matthew Flatt 2008-12-02 16:01:13 +00:00
parent 10c9b39bfe
commit de03ebd5f9

View File

@ -345,7 +345,7 @@ static BOOL CALLBACK CheckWindow(HWND wnd, LPARAM param)
argv = (char **)param;
len = gl = strlen(MRED_GUID);
len += 4 + sizeof(WORD);
len += 4 + sizeof(DWORD);
for (i = 1; argv[i]; i++) {
len += sizeof(DWORD) + strlen(argv[i]);
}