Skip to content

Commit

Permalink
Console: Fixed change notification from text variables
Browse files Browse the repository at this point in the history
The test to see whether the value had been changed was incorrect.
  • Loading branch information
skyjake committed Dec 8, 2011
1 parent 6e36822 commit 3d44991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/con_data.c
Expand Up @@ -102,7 +102,7 @@ void Con_SetString(const char* name, char* text, byte overRide)

if(cvar->type == CVT_CHARPTR)
{
if(CV_CHARPTR(cvar) && !stricmp(text, CV_CHARPTR(cvar)))
if(CV_CHARPTR(cvar) && stricmp(text, CV_CHARPTR(cvar)))
changed = true;

// Free the old string, if one exists.
Expand Down

0 comments on commit 3d44991

Please sign in to comment.