if (! window) return 1;\r
\r
/* Check parameters in the window */\r
- char name[STRING_SIZE];\r
+ char name[VALUE_LENGTH];\r
char exe[EXE_LENGTH];\r
- char flags[STRING_SIZE];\r
+ char flags[VALUE_LENGTH];\r
\r
/* Get service name */\r
if (! GetDlgItemText(window, IDC_NAME, name, sizeof(name))) {\r
if (! window) return 1;\r
\r
/* Check parameters in the window */\r
- char name[STRING_SIZE];\r
+ char name[VALUE_LENGTH];\r
\r
/* Get service name */\r
if (! GetDlgItemText(window, IDC_NAME, name, sizeof(name))) {\r
#include <commctrl.h>\r
#include "resource.h"\r
\r
-#define STRING_SIZE 256\r
-\r
int nssm_gui(int, char *);\r
void centre_window(HWND);\r
int install(HWND);\r