small gzstream cleanup
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4783 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -513,7 +513,7 @@ struct gzstream : stream
|
||||
bool open(stream *f, const char *mode, bool needclose, int level)
|
||||
{
|
||||
if(file) return false;
|
||||
for(; *mode; *mode++)
|
||||
for(; *mode; mode++)
|
||||
{
|
||||
if(*mode=='r') { reading = true; break; }
|
||||
else if(*mode=='w') { writing = true; break; }
|
||||
|
||||
Reference in New Issue
Block a user