compile on windows

This commit is contained in:
jed
2012-07-16 15:36:54 -07:00
parent bcbbf41c30
commit 0f554c1c59
3 changed files with 11 additions and 1 deletions

View File

@@ -836,11 +836,17 @@ Json::Value STAmount::getJson(int) const
{
Json::Value elem(Json::objectValue);
elem["value"] = getText();
// This is a hack, many places don't specify a currency. STAmount is used just as a value.
if (!mIsNative)
{
elem["value"] = getText();
elem["currency"] = getCurrencyHuman();
}else
{
elem=getText();
}
return elem;
}