commit 2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Wed Mar 26 13:25:51 2014 +0100
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Wed Mar 26 13:25:51 2014 +0100
Fix typos in config API usage
---
src/d_iwad.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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);