summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/if_python3.c5
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/if_python3.c b/src/if_python3.c
index c39f42a6c7..c135e7e6fd 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 f839c28159..977bbdf6fe 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2048,
+/**/
2047,
/**/
2046,