/* Centre window */\r
x = (desktop_size.right - size.right) / 2;\r
y = (desktop_size.bottom - size.bottom) / 2;\r
- MoveWindow(window, x, y, size.right, size.bottom, 0);\r
+ MoveWindow(window, x, y, size.right - size.left, size.bottom - size.top, 0);\r
}\r
\r
/* Install the service */\r
\r
/* Check parameters in the window */\r
char name[STRING_SIZE];\r
- char exe[MAX_PATH];\r
+ char exe[EXE_LENGTH];\r
char flags[STRING_SIZE];\r
\r
/* Get service name */\r