diff options
-rw-r--r-- | PC/getpathp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c index e2d4e7a81b..a38224a00c 100644 --- a/PC/getpathp.c +++ b/PC/getpathp.c @@ -356,7 +356,7 @@ get_progpath(void) but makes no mention of the null terminator. Play it safe. PLUS Windows itself defines MAX_PATH as the same, but anyway... */ - wprogpath[MAXPATHLEN]=_T('\0')'; + wprogpath[MAXPATHLEN]=_T('\0'); if (GetModuleFileName(NULL, wprogpath, MAXPATHLEN)) { WideCharToMultiByte(CP_ACP, 0, wprogpath, -1, |