diff -r 284c2fc6c1cd -r 393359908179 objwriter.cxx --- a/objwriter.cxx Sat Jul 14 16:31:21 2012 +0300 +++ b/objwriter.cxx Sat Jul 14 17:24:21 2012 +0300 @@ -38,6 +38,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define __OBJWRITER_CXX__ #include #include #include @@ -48,6 +49,7 @@ #include "bots.h" ObjWriter::ObjWriter (str path) { + numWrittenBytes = 0; fp = fopen (path, "w"); CHECK_FILE (fp, path, "writing"); }