]> granicus.if.org Git - python/commitdiff
Fix typo.
authorMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Jun 2008 06:22:46 +0000 (06:22 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Wed, 11 Jun 2008 06:22:46 +0000 (06:22 +0000)
Python/dynload_win.c

index 21e71b28d9e97966a03786a249b397ce6f28e56a..2f46037ae9244753ab551b069e82501b1bf8687c 100644 (file)
@@ -165,7 +165,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
        dl_funcptr p;
        char funcname[258], *import_python;
 
-       PyOS_snprintf(funcname, sizeof(funcname), "PyInit_init%.200s", shortname);
+       PyOS_snprintf(funcname, sizeof(funcname), "PyInit_%.200s", shortname);
 
        {
                HINSTANCE hDLL = NULL;