diff --git a/src/if_python3.c b/src/if_python3.c index c39f42a6c..c135e7e6f 100644 --- a/src/if_python3.c +++ b/src/if_python3.c @@ -848,8 +848,9 @@ py3_get_system_libname(const char *libname) break; major = wcstol(keyname, &wp, 10); - if (*wp == L'.') - minor = wcstol(wp + 1, &wp, 10); + if (*wp != L'.') + continue; + minor = wcstol(wp + 1, &wp, 10); # ifdef _WIN64 if (*wp != L'\0') continue; diff --git a/src/version.c b/src/version.c index f839c2815..977bbdf6f 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2048, /**/ 2047, /**/