Fix typos in config API usage

This commit is contained in:
Fabian Greffrath 2014-03-26 13:25:51 +01:00
parent b945564afc
commit 2b4eb0f8fb

View file

@ -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);