summaryrefslogtreecommitdiffstats
path: root/PC/import_nt.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/import_nt.c')
-rw-r--r--PC/import_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/import_nt.c b/PC/import_nt.c
index e340bb9..022b9e5 100644
--- a/PC/import_nt.c
+++ b/PC/import_nt.c
@@ -25,7 +25,7 @@ FILE *PyWin_FindRegisteredModule( const char *moduleName, struct filedescr **ppF
if (RegQueryValue(keyBase, moduleKey, pathBuf, &modNameSize)!=ERROR_SUCCESS)
return NULL;
// use the file extension to locate the type entry.
- for (fdp = import_filetab; fdp->suffix != NULL; fdp++) {
+ for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) {
int extLen=strlen(fdp->suffix);
if (modNameSize>extLen && strnicmp(pathBuf+(modNameSize-extLen-1),fdp->suffix,extLen)==0)
break;