bleh whitespace/formatting cleanup.

This commit is contained in:
xavier 2010-10-09 16:04:49 +00:00
parent 4df455f33c
commit f660f8160b
12 changed files with 866 additions and 871 deletions

File diff suppressed because it is too large Load diff

View file

@ -1468,18 +1468,18 @@ namespace Server.Mobiles
int price;
string description;
if ( int.TryParse( firstWord, out price ) )
{
if ( sep >= 0 )
description = text.Substring( sep + 1 ).Trim();
else
description = "";
}
else
{
price = -1;
description = text.Trim();
if ( int.TryParse( firstWord, out price ) )
{
if ( sep >= 0 )
description = text.Substring( sep + 1 ).Trim();
else
description = "";
}
else
{
price = -1;
description = text.Trim();
}
SetInfo( from, price, Utility.FixHtml( description ) );
}
@ -1560,8 +1560,8 @@ namespace Server.Mobiles
int amount;
if ( !int.TryParse( text, out amount ) )
amount = 0;
if ( !int.TryParse( text, out amount ) )
amount = 0;
GiveGold( from, amount );
}