From 8f7813d75415b13078d0fc0c5db00f68ef13af3f Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 7 Mar 2010 01:37:13 +0000 Subject: [PATCH] small gzstream cleanup git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4783 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/stream.cpp b/source/src/stream.cpp index 4ebed00d..47c9faa0 100644 --- a/source/src/stream.cpp +++ b/source/src/stream.cpp @@ -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; }