mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
use FormatMoney everywhere
This commit is contained in:
committed by
majcosta
parent
0dd32c4670
commit
3d29eff4d8
+1
-8
@@ -6165,15 +6165,8 @@ BOOLEAN ReplaceMercNameAndAmountWithProperData( CHAR16 *pFinishedString, EmailPt
|
||||
}
|
||||
else
|
||||
{
|
||||
CHAR16 sDollarAmount[64];
|
||||
|
||||
swprintf( sDollarAmount, L"%d", pMail->iFirstData );
|
||||
|
||||
InsertCommasForDollarFigure( sDollarAmount );
|
||||
InsertDollarSignInToString( sDollarAmount );
|
||||
|
||||
//add the mercs name to the string
|
||||
wcscat( pFinishedString, sDollarAmount );
|
||||
wcscat( pFinishedString, FormatMoney(pMail->iFirstData).data() );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user