ref: 2b4eb0f8fb8ffca7b4016f6e8f05c124d0ad2afc
parent: b945564afc276a3a60a6252edadbfe71cdf4f65f
author: Fabian Greffrath <[email protected]>
date: Wed Mar 26 09:25:51 EDT 2014
Fix typos in config API usage
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -341,7 +341,7 @@
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 @@
{
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);