Fixed localization bug

This commit is contained in:
llsth 2015-04-08 19:08:36 +02:00
parent e9d3ae0fe4
commit d7e979fb5c
1 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ const char* PositionalNumeralSystem::GetText(double number)
while (buf->RemoveTrailing('0'))
;
buf->RemoveTrailing('.');
buf->RemoveTrailing(fractionpoint);
}
// Add exponent
@ -446,7 +446,7 @@ const char* DecimalSystem::GetRealText(double value)
buf->Append(out);
while (buf->RemoveTrailing('0'))
;
buf->RemoveTrailing('.');
buf->RemoveTrailing(fractionpoint);
delete out;
return buf->GetString();