author | ecalot
<ecalot> 2005-06-03 07:49:55 UTC |
committer | ecalot
<ecalot> 2005-06-03 07:49:55 UTC |
parent | 39619eaf307acb1d12daced36b8a4ef5a0fae82c |
PR/src/console/main.c | +1 | -0 |
PR/src/include/en.lang.pr.h | +7 | -1 |
PR/src/lib/actions/classify.c | +0 | -2 |
diff --git a/PR/src/console/main.c b/PR/src/console/main.c index 02c9f53..085b574 100644 --- a/PR/src/console/main.c +++ b/PR/src/console/main.c @@ -211,6 +211,7 @@ int main (int argc, char **argv) { } else { /* classify */ result=prClassifyDat(file); + printf("result=%d\n",result); fprintf(outputStream,PR_TEXT_RESULT,classifyErrors[result+2],result); } free(file); diff --git a/PR/src/include/en.lang.pr.h b/PR/src/include/en.lang.pr.h index 9988520..f1f05d7 100644 --- a/PR/src/include/en.lang.pr.h +++ b/PR/src/include/en.lang.pr.h @@ -98,7 +98,13 @@ pr.h: Princed Resources : English language strings "Graphic DAT file",\ "Internal PC Speaker dat file",\ NULL,NULL,NULL,\ -"Pop2 dat file"} +"invalid Pop2 dat file",\ +"Pop2 level file",\ +"Pop2 graphic dat file",\ +"Pop2 wav dat file",\ +"Pop2 midi dat file",\ +"Pop2 valid dat file",\ +"Pop2 graphic dat file"} #define PR_TEXT_IMPORT_ARRAY {\ "File successfully imported",\ diff --git a/PR/src/lib/actions/classify.c b/PR/src/lib/actions/classify.c index c5cdd94..5e9c814 100644 --- a/PR/src/lib/actions/classify.c +++ b/PR/src/lib/actions/classify.c @@ -43,8 +43,6 @@ tasks.c: Princed Resources : Classify a DAT file | Get the type of a DAT file | \***************************************************************/ -/*extern int pop1;*/ - #define READ_ERROR {mReadCloseDatFile();return 0;} int prClassifyDat(const char* vFiledat) {