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;