Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e407e2a commit 2795daeCopy full SHA for 2795dae
1 file changed
PC/getpathp.c
@@ -356,7 +356,7 @@ get_progpath(void)
356
but makes no mention of the null terminator. Play it safe.
357
PLUS Windows itself defines MAX_PATH as the same, but anyway...
358
*/
359
- wprogpath[MAXPATHLEN]=_T('\0')';
+ wprogpath[MAXPATHLEN]=_T('\0');
360
if (GetModuleFileName(NULL, wprogpath, MAXPATHLEN)) {
361
WideCharToMultiByte(CP_ACP, 0,
362
wprogpath, -1,
0 commit comments