added missing why2_directory call to why2_check_version

This commit is contained in:
Václav Šmejkal 2024-08-30 15:01:27 +02:00
parent c28765a4c8
commit 329c3c9cd2
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -72,6 +72,7 @@ enum WHY2_EXIT_CODES why2_check_version(void)
if (why2_get_flags().no_check) return WHY2_SUCCESS;
why2_set_memory_identifier("core_version_check");
why2_directory(); //MAKE SURE WHY2 DIR EXISTS
//FILE-CHECK VARIABLES
int not_found_buffer = 0;