Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2795dae

Browse files
committed
Remove a strange single quote that didn't seem to upset the compilers!
1 parent e407e2a commit 2795dae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PC/getpathp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ get_progpath(void)
356356
but makes no mention of the null terminator. Play it safe.
357357
PLUS Windows itself defines MAX_PATH as the same, but anyway...
358358
*/
359-
wprogpath[MAXPATHLEN]=_T('\0')';
359+
wprogpath[MAXPATHLEN]=_T('\0');
360360
if (GetModuleFileName(NULL, wprogpath, MAXPATHLEN)) {
361361
WideCharToMultiByte(CP_ACP, 0,
362362
wprogpath, -1,

0 commit comments

Comments
 (0)