diff options
Diffstat (limited to 'src/jake2/qcommon/Cvar.java')
-rw-r--r-- | src/jake2/qcommon/Cvar.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/qcommon/Cvar.java b/src/jake2/qcommon/Cvar.java index c62c4b9..d14cadd 100644 --- a/src/jake2/qcommon/Cvar.java +++ b/src/jake2/qcommon/Cvar.java @@ -2,7 +2,7 @@ * Cvar.java * Copyright (C) 2003 * - * $Id: Cvar.java,v 1.6 2004-10-21 03:11:30 cawe Exp $ + * $Id: Cvar.java,v 1.7 2005-02-08 18:00:02 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -358,7 +358,7 @@ public class Cvar extends Globals { cvar_t var; for (var = Globals.cvar_vars; var != null; var = var.next) { - if (var.latched_string == null || var.latched_string == "") + if (var.latched_string == null || var.latched_string.length() == 0) continue; var.string = var.latched_string; var.latched_string = null; |