diff --git a/grpdecompiler.c b/grpdecompiler.c index 31f1b55..d05da66 100644 --- a/grpdecompiler.c +++ b/grpdecompiler.c @@ -43,10 +43,9 @@ void show_intro() { putchar('\n'); puts("GRP DECOMPILER"); - puts("Version 2.1.1"); + puts("Version 2.1.2"); puts("This program distributed under GNU GENERAL PUBLIC LICENSE"); - puts("File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich"); - puts("2010-2023 years"); + puts("File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich, 2010-2023 years"); } void show_message(const char *message) @@ -208,7 +207,7 @@ size_t check_format(FILE *input) grp_block *read_blocks(FILE *input,const size_t amount) { grp_block *result=NULL; - result=(grp_block*)calloc(amount,sizeof(grp_block)); + result=(grp_block*)malloc(amount*sizeof(grp_block)); check_memory(result); fread(result,sizeof(grp_block),amount,input); return result; diff --git a/readme.txt b/readme.txt index 60dcba4..c075de0 100644 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,6 @@ GRP DECOMPILER - Version 2.1.1 + Version 2.1.2 File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich @@ -70,4 +70,4 @@ Version history 2.0.5 - 2.0.6 - Small changes. 2.0.7 - Small bug fixed. 2.0.7.1 - 2.0.7.2 - Makefile updated. -2.0.8 - 2.1.1 - Small changes. \ No newline at end of file +2.0.8 - 2.1.2 - Small changes. \ No newline at end of file