summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-10-08 15:32:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-10-08 15:32:46 (GMT)
commit213649023cfb7a5d3a9141bc10f501513f7bb42d (patch)
tree701fa6c80aa2ab496458c7689938f99fc152bc88 /Mac
parentf774c41dfea9a472065929f82e2ac57337c4d66c (diff)
downloadcpython-213649023cfb7a5d3a9141bc10f501513f7bb42d.zip
cpython-213649023cfb7a5d3a9141bc10f501513f7bb42d.tar.gz
cpython-213649023cfb7a5d3a9141bc10f501513f7bb42d.tar.bz2
Bug fix for fast module location
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Python/macglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index 0adbce1..4d0fb1f 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -895,7 +895,7 @@ PyMac_FindModuleExtension(char *buf, int *lenp, char *module)
#if 0
strcpy(buf+*lenp+modnamelen, fdp->suffix);
#else
- strcpy(buf+*lenp+modnamelen, fdp->suffix);
+ strcpy(buf+*lenp, fdp->suffix);
#endif
*lenp = strlen(buf);
return fdp;