String patch, thanks Carmina

This commit is contained in:
mark 2006-12-12 19:22:43 +00:00
parent 332effd18f
commit 88658b58e2
15 changed files with 33 additions and 33 deletions

View file

@ -130,7 +130,7 @@ namespace Server.Items
{
string line = box.Topic[i];
if ( line != null && line != "" )
if ( !String.IsNullOrEmpty( line ) )
AddLabelCropped( 30, 90 + i * 20, 340, 20, 0x3E3, line );
}
@ -389,4 +389,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}