mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[winpr,utils] fix WITH_RESOURCE_VERSIONING
winpr_getApplicationDetailsVersion returned a wrong value.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user