summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-26 13:25:51 +0100
committerFabian Greffrath2014-03-26 13:25:51 +0100
commit2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc (patch)
tree6e96d7dd70f72e93fe00163281487e917967af18 /src
parentb945564afc276a3a60a6252edadbfe71cdf4f65f (diff)
downloadchocolate-doom-2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc.tar.gz
chocolate-doom-2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc.tar.bz2
chocolate-doom-2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc.zip
Fix typos in config API usage
Diffstat (limited to 'src')
-rw-r--r--src/d_iwad.c4
1 files 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);