X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fimage.c;h=83d8216b43bd02c7152bf05dc8ede398557fd2de;hp=09a75fcee078a7eb6628042246a6acd67ecef6be;hb=d4665f01d15ba3679f378819710a84d6c2348a9c;hpb=538315c24bc8be21751b452eef2f02b13e159f55 diff --git a/src/image.c b/src/image.c index 09a75fce..83d8216b 100644 --- a/src/image.c +++ b/src/image.c @@ -514,7 +514,7 @@ int Read_PCX_to_Pixmap(Display *display, Window window, GC gc, char *filename, /* read the graphic file in PCX format to image structure */ if ((image = Read_PCX_to_Image(filename)) == NULL) - return PCX_FileInvalid; + return errno_pcx; #if DEBUG_TIMING printf("%s:\n", filename); @@ -548,7 +548,7 @@ int Read_PCX_to_Pixmap(Display *display, Window window, GC gc, char *filename, *pixmap = ximageinfo->pixmap; *pixmap_mask = ximageinfo->pixmap_mask; - return(PCX_Success); + return PCX_Success; } #endif /* !MSDOS */