Skip to content

Commit dc5a7f4

Browse files
authored
Remove previous change
1 parent 23c9aff commit dc5a7f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

clientgui/MainDocument.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1712,10 +1712,10 @@ void CMainDocument::KillGraphicsApp(int pid) {
17121712

17131713
if (g_use_sandbox) {
17141714
snprintf(thePIDbuf, sizeof(thePIDbuf), "%d", pid);
1715-
argv[0] = (char *)"switcher";
1716-
argv[1] = (char *)"/bin/kill";
1717-
argv[2] = (char *)"kill";
1718-
argv[3] = (char *)"-KILL";
1715+
argv[0] = "switcher";
1716+
argv[1] = "/bin/kill";
1717+
argv[2] = "kill";
1718+
argv[3] = "-KILL";
17191719
argv[4] = thePIDbuf;
17201720
argv[5] = 0;
17211721

@@ -1767,7 +1767,7 @@ int CMainDocument::WorkShowGraphics(RESULT* rp) {
17671767
#ifndef __WXMSW__
17681768
char* argv[4];
17691769

1770-
argv[0] = (char *)"switcher";
1770+
argv[0] = "switcher";
17711771
// For unknown reasons on Macs, the graphics application
17721772
// exits with "RegisterProcess failed (error = -50)" unless
17731773
// we pass its full path twice in the argument list to execv.

0 commit comments

Comments
 (0)