aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fbasicstring.h2
-rw-r--r--src/file.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/fbasicstring.h b/src/fbasicstring.h
index 2f9dbc1..4907d61 100644
--- a/src/fbasicstring.h
+++ b/src/fbasicstring.h
@@ -1892,7 +1892,7 @@ namespace Bu
1892 flatten(); 1892 flatten();
1893 for( ; core->pFirst->nLength > 0 && core->pFirst->pData[core->pFirst->nLength-1] == c; core->pFirst->nLength--, core->nLength-- ) { } 1893 for( ; core->pFirst->nLength > 0 && core->pFirst->pData[core->pFirst->nLength-1] == c; core->pFirst->nLength--, core->nLength-- ) { }
1894 } 1894 }
1895 1895
1896 void format( const char *sFrmt, ...) 1896 void format( const char *sFrmt, ...)
1897 { 1897 {
1898 _hardCopy(); 1898 _hardCopy();
diff --git a/src/file.cpp b/src/file.cpp
index 8944542..4d79f1e 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -188,6 +188,7 @@ Bu::File Bu::File::tempFile( Bu::FString &sName )
188 188
189 return Bu::File( afh_d ); 189 return Bu::File( afh_d );
190} 190}
191
191void Bu::File::truncate( long nSize ) 192void Bu::File::truncate( long nSize )
192{ 193{
193 ftruncate( fd, nSize ); 194 ftruncate( fd, nSize );