Opened 13 years ago

Closed 12 years ago

#1127 closed Defect (invalid)

[PATCH] wrong check on open file make_app_icon_h.cpp

Reported by: serval2412 Owned by:
Priority: Undetermined Milestone: Undetermined
Component: Undetermined Version: 6.12.33
Keywords: Cc:

Description

Hello,

On the file make_app_icon_h.cpp, we have this :

inFile = fopen(argv[1], "rb"); if (inFile == NULL) {

printf ("Couldn't open input file %s\n", argv[1]); return 0;

}

outFile = fopen(argv[2], "w"); if (inFile == NULL) {

printf ("Couldn't create output file %s\n", argv[2]); fclose(inFile); return 0;

}

Obviously, the second if should be : "if (outFile == NULL) {"

Julien

Change History (1)

comment:1 Changed 12 years ago by serval2412

Resolution: invalid
Status: newclosed

Already fixed

Note: See TracTickets for help on using tickets.