diff options
Diffstat (limited to 'src/formatter.h')
-rw-r--r-- | src/formatter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter.h b/src/formatter.h index a7689e1..b66f621 100644 --- a/src/formatter.h +++ b/src/formatter.h | |||
@@ -160,7 +160,7 @@ namespace Bu | |||
160 | int c = f; | 160 | int c = f; |
161 | fTmp += (char)((c<10)?('0'+c):(cBase+c-10)); | 161 | fTmp += (char)((c<10)?('0'+c):(cBase+c-10)); |
162 | f -= (int)f; | 162 | f -= (int)f; |
163 | for( int j = 0; j < 150 && f; j++ ) | 163 | for( int j = 0; j < 8 && f; j++ ) |
164 | { | 164 | { |
165 | if( iScale - j == 0 ) | 165 | if( iScale - j == 0 ) |
166 | fTmp += '.'; | 166 | fTmp += '.'; |