X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=gui.cpp;h=b1174d124a17714cfaedb7f288dae6368f5e344e;hb=f1abcb8f0ad1fb08fe07a496f5d037d0c1d3b478;hp=c143162380c0900c4e3383b4cd53003504f5c258;hpb=4440946eccf1cb14e16f8d29c54fb4acecbd44ff;p=nssm.git diff --git a/gui.cpp b/gui.cpp index c143162..b1174d1 100644 --- a/gui.cpp +++ b/gui.cpp @@ -67,7 +67,7 @@ int install(HWND window) { /* Check parameters in the window */ char name[STRING_SIZE]; - char exe[MAX_PATH]; + char exe[EXE_LENGTH]; char flags[STRING_SIZE]; /* Get service name */