Fix typos in config API usage
This commit is contained in:
parent
b945564afc
commit
2b4eb0f8fb
1 changed files with 2 additions and 2 deletions
|
|
@ -341,7 +341,7 @@ static void CheckSteamGUSPatches(void)
|
|||
int len;
|
||||
|
||||
// Already configured? Don't stomp on the user's choices.
|
||||
current_path = D_GetStrVariable("gus_patch_path");
|
||||
current_path = M_GetStrVariable("gus_patch_path");
|
||||
if (current_path != NULL && strlen(current_path) > 0)
|
||||
{
|
||||
return;
|
||||
|
|
@ -364,7 +364,7 @@ static void CheckSteamGUSPatches(void)
|
|||
{
|
||||
snprintf(patch_path, len, "%s\\%s",
|
||||
install_path, STEAM_BFG_GUS_PATCHES);
|
||||
D_SetVariable("gus_patch_path", patch_path);
|
||||
M_SetVariable("gus_patch_path", patch_path);
|
||||
}
|
||||
|
||||
free(patch_path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue