15.12.2011 - version 0.1.1
This commit is contained in:
@@ -81,8 +81,8 @@ void PIFile::resize(llong new_size, char fill_) {
|
||||
|
||||
|
||||
llong PIFile::pos() {
|
||||
if (cmode[Read]) return stream.tellg();
|
||||
if (cmode[Write]) return stream.tellp();
|
||||
if (cmode[Read]) return stream.tellg();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user