summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-22 13:28:21 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-22 13:28:21 (GMT)
commit2795dae20d31314bfb843e8d383e2270a10022e8 (patch)
treebce67d515b2a63d185ef7964200806afc0139216 /PC/getpathp.c
parente407e2ac422022823f7283f09e0f34d4cc0078f0 (diff)
downloadcpython-2795dae20d31314bfb843e8d383e2270a10022e8.zip
cpython-2795dae20d31314bfb843e8d383e2270a10022e8.tar.gz
cpython-2795dae20d31314bfb843e8d383e2270a10022e8.tar.bz2
Remove a strange single quote that didn't seem to upset the compilers!
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index e2d4e7a..a38224a 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,