summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Python/import.c b/Python/import.c
index a3803a2..12a2c30 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -462,13 +462,12 @@ find_module(name, path, buf, buflen, p_fp)
else
buf[len++] = ch;
}
- else{ /* Not in dos_8x3, use the full name */
+ else /* Not in dos_8x3, use the full name */
+#else
+ {
strcpy(buf+len, name);
len += namelen;
}
-#else
- strcpy(buf+len, name);
- len += namelen;
#endif
for (fdp = import_filetab; fdp->suffix != NULL; fdp++) {
strcpy(buf+len, fdp->suffix);