diff options
Diffstat (limited to 'src/formatter.h')
-rw-r--r-- | src/formatter.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/formatter.h b/src/formatter.h index 30ecf42..81e8db5 100644 --- a/src/formatter.h +++ b/src/formatter.h | |||
@@ -171,9 +171,12 @@ namespace Bu | |||
171 | } | 171 | } |
172 | 172 | ||
173 | template<typename type> | 173 | template<typename type> |
174 | void ffmt( type /*f*/ ) | 174 | void ffmt( type f ) |
175 | { | 175 | { |
176 | writeAligned("**make floats work**"); | 176 | Bu::FString fTmp; |
177 | fTmp.format("%f {~!~}", f ); | ||
178 | // writeAligned("**make floats work**"); | ||
179 | writeAligned( fTmp ); | ||
177 | usedFormat(); | 180 | usedFormat(); |
178 | } | 181 | } |
179 | 182 | ||