Fixed string comparisons

Added CCursor.ReloadTextures without position flickering
This commit is contained in:
Flamefire committed 2013-05-10 14:31:20 +02:00
1 parent a2c1ee67ad
commit 7f5cbbf686
16 files changed
+90 -126

No files matched your search

@@ -351,7 +351,7 @@ namespace VocaluxeLib.Menu.SongMenu
writer.WriteComment("<Color>: Tile color from ColorScheme (high priority)");
writer.WriteComment("or <R>, <G>, <B>, <A> (lower priority)");
if (_Theme.ColorName != "")
if (!String.IsNullOrEmpty(_Theme.ColorName))
writer.WriteElementString("Color", _Theme.ColorName);
else
{
@@ -548,7 +548,7 @@ namespace VocaluxeLib.Menu.SongMenu
{
Init();
if (_Theme.ColorName != "")
if (!String.IsNullOrEmpty(_Theme.ColorName))
_Color = CBase.Theme.GetColor(_Theme.ColorName, _PartyModeID);
}