From 2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Wed, 26 Mar 2014 13:25:51 +0100 Subject: Fix typos in config API usage --- src/d_iwad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/d_iwad.c b/src/d_iwad.c index ae66db79..f4155349 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -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); -- cgit v1.2.3