diff options
-rw-r--r-- | src/RdFToI.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/RdFToI.c b/src/RdFToI.c index 759535e..e91d5e9 100644 --- a/src/RdFToI.c +++ b/src/RdFToI.c @@ -259,15 +259,6 @@ static void xpmDataClose(mdata) xpmData *mdata; { - switch (mdata->type) { - case XPMFILE: - if (mdata->stream.file != (stdin)) - fclose(mdata->stream.file); - break; -#ifndef NO_ZPIPE - case XPMPIPE: - pclose(mdata->stream.file); - break; -#endif - } + if (mdata->stream.file != (stdin)) + fclose(mdata->stream.file); } |