diff options
Diffstat (limited to 'src/fstring.h')
-rw-r--r-- | src/fstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fstring.h b/src/fstring.h index a9b4c95..b4cae3a 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -138,7 +138,7 @@ namespace Bu | |||
138 | { | 138 | { |
139 | if( !pData ) return; | 139 | if( !pData ) return; |
140 | long nLen; | 140 | long nLen; |
141 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); | 141 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ) { } |
142 | if( nLen == 0 ) | 142 | if( nLen == 0 ) |
143 | return; | 143 | return; |
144 | 144 | ||
@@ -220,7 +220,7 @@ namespace Bu | |||
220 | if( pData == NULL ) | 220 | if( pData == NULL ) |
221 | return; | 221 | return; |
222 | long nLen; | 222 | long nLen; |
223 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ); | 223 | for( nLen = 0; pData[nLen] != (chr)0; nLen++ ) { } |
224 | 224 | ||
225 | Chunk *pNew = newChunk( nLen ); | 225 | Chunk *pNew = newChunk( nLen ); |
226 | cpy( pNew->pData, pData, nLen ); | 226 | cpy( pNew->pData, pData, nLen ); |