Mercurial > cpython-lru_cache-weakref
diff PC/getpathp.c @ 24353:fda513b671b6 legacy-trunk
Remove a strange single quote that didn't seem to upset the compilers!
| author | Mark Hammond <mhammond@skippinet.com.au> |
|---|---|
| date | Mon, 22 Jul 2002 13:28:21 +0000 |
| parents | 8142f8d668a0 |
| children | 54aacb87beda |
line wrap: on
line diff
--- a/PC/getpathp.c Mon Jul 22 13:26:41 2002 +0000 +++ b/PC/getpathp.c Mon Jul 22 13:28:21 2002 +0000 @@ -356,7 +356,7 @@ 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,
