From e23427e5601426075a61315c8ced0b69816bebc2 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Fri, 20 Jan 2006 05:51:42 +0000 Subject: [PATCH] Comment correction. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2209 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/resource/index.h | 2 +- sc2/src/sc2code/libs/uio/zip/zip.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sc2/src/sc2code/libs/resource/index.h b/sc2/src/sc2code/libs/resource/index.h index 9706915f6..fa87440bb 100644 --- a/sc2/src/sc2code/libs/resource/index.h +++ b/sc2/src/sc2code/libs/resource/index.h @@ -39,7 +39,7 @@ typedef struct { RES_TYPE numTypes; /* Number of types in the handlers array (whether NULL or not). - * == the highest stored vector number + 1. + * == the highest stored handler number + 1. */ ResourceHandlers *handlers; } ResourceTypeInfo; diff --git a/sc2/src/sc2code/libs/uio/zip/zip.c b/sc2/src/sc2code/libs/uio/zip/zip.c index 69b9f6eb8..ad356a585 100644 --- a/sc2/src/sc2code/libs/uio/zip/zip.c +++ b/sc2/src/sc2code/libs/uio/zip/zip.c @@ -1517,8 +1517,8 @@ zip_unInitZipStream(z_stream *zipStream) { if (retVal != Z_OK) { switch (retVal) { case Z_STREAM_ERROR: - // This means zipHandle->zipStream is bad, which is - // most likely an error in the code using zlib. + // This means zipStream is bad, which is most likely an + // error in the code using zlib. fprintf(stderr, "Fatal: internal error using zlib.\n"); abort(); break; @@ -1545,8 +1545,8 @@ zip_reInitZipStream(z_stream *zipStream) { if (retVal != Z_OK) { switch (retVal) { case Z_STREAM_ERROR: - // This means zipHandle->zipStream is bad, which is - // most likely an error in the code using zlib. + // This means zipStream is bad, which is most likely an + // error in the code using zlib. fprintf(stderr, "Fatal: internal error using zlib.\n"); abort(); break;