Commit 5efe043a authored by Oleg Korshul's avatar Oleg Korshul

refactoring

parent f2af1ccd
...@@ -578,7 +578,7 @@ namespace NSFontConverter ...@@ -578,7 +578,7 @@ namespace NSFontConverter
double dTemp = 0; double dTemp = 0;
int nInt; int nInt;
if ( ( bNegative = dValue < 0 ) ) if ( bNegative = ( dValue < 0 ) )
dValue = -dValue; dValue = -dValue;
dValue = floor( dValue * pow( (double)10, nPrecision) + 0.5); dValue = floor( dValue * pow( (double)10, nPrecision) + 0.5);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment