diff options
Diffstat (limited to 'src/formatter.h')
| -rw-r--r-- | src/formatter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formatter.h b/src/formatter.h index ec84be5..47592ad 100644 --- a/src/formatter.h +++ b/src/formatter.h | |||
| @@ -204,7 +204,7 @@ namespace Bu | |||
| 204 | template<typename type> | 204 | template<typename type> |
| 205 | void iparse( type &i, const Bu::FString &sBuf ) | 205 | void iparse( type &i, const Bu::FString &sBuf ) |
| 206 | { | 206 | { |
| 207 | if( !sBuf ) | 207 | if( !sBuf.isSet() ) |
| 208 | return; | 208 | return; |
| 209 | if( sBuf[0] != '+' && sBuf[0] != '-' && | 209 | if( sBuf[0] != '+' && sBuf[0] != '-' && |
| 210 | (sBuf[0] < '0' && sBuf[0] > '9') ) | 210 | (sBuf[0] < '0' && sBuf[0] > '9') ) |
| @@ -230,7 +230,7 @@ namespace Bu | |||
| 230 | template<typename type> | 230 | template<typename type> |
| 231 | void uparse( type &i, const Bu::FString &sBuf ) | 231 | void uparse( type &i, const Bu::FString &sBuf ) |
| 232 | { | 232 | { |
| 233 | if( !sBuf ) | 233 | if( !sBuf.isSet() ) |
| 234 | return; | 234 | return; |
| 235 | if( sBuf[0] != '+' && | 235 | if( sBuf[0] != '+' && |
| 236 | (sBuf[0] < '0' && sBuf[0] > '9') ) | 236 | (sBuf[0] < '0' && sBuf[0] > '9') ) |
