X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fpcx.c;h=f50e2c9a40a32c4de7e1139cbeb3044c01b0c386;hb=e0560b41a1796a02b15937b0ae5453bca745e5ff;hp=6763edd3835d6e18a87993c8489cd08e24cb252a;hpb=3d07b68a314ce189f207e42d95f786979662410d;p=rocksndiamonds.git diff --git a/src/libgame/pcx.c b/src/libgame/pcx.c index 6763edd3..f50e2c9a 100644 --- a/src/libgame/pcx.c +++ b/src/libgame/pcx.c @@ -1,14 +1,14 @@ /*********************************************************** -* Rocks'n'Diamonds -- McDuffin Strikes Back! * +* Artsoft Retro-Game Library * *----------------------------------------------------------* -* (c) 1995-98 Artsoft Entertainment * -* Holger Schemel * -* Oststrasse 11a * -* 33604 Bielefeld * -* phone: ++49 +521 290471 * -* email: aeglos@valinor.owl.de * +* (c) 1994-2000 Artsoft Entertainment * +* Holger Schemel * +* Detmolder Strasse 189 * +* 33604 Bielefeld * +* Germany * +* e-mail: info@artsoft.org * *----------------------------------------------------------* -* pcx.c * +* pcx.c * ***********************************************************/ #ifndef TARGET_SDL @@ -138,7 +138,7 @@ Image *Read_PCX_to_Image(char *filename) errno_pcx = PCX_Success; - if (!(file = fopen(filename, "r"))) + if (!(file = fopen(filename, MODE_READ))) { errno_pcx = PCX_OpenFailed; return NULL;