[winpr,utils] fix WITH_RESOURCE_VERSIONING

winpr_getApplicationDetailsVersion returned a wrong value.
This commit is contained in:
Armin Novak
2026-02-10 13:22:49 +01:00
parent 79498a0d15
commit 52cf5d18f4

View File

@@ -57,7 +57,7 @@ static BOOL CALLBACK init_app_details(WINPR_ATTR_UNUSED PINIT_ONCE once,
return FALSE;
#if defined(WITH_RESOURCE_VERSIONING)
s_winpr_version = WINPR_API_VERSION;
s_winpr_version = WINPR_VERSION_MAJOR;
#else
s_winpr_version = -1;
#endif