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:
Lee Salzman
2010-03-07 01:37:13 +00:00
parent 4dfe38013e
commit 8f7813d754
+1 -1
View File
@@ -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; }