From 894de83e124b31459b06d89046a84586f7837730 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Mon, 19 Jul 2004 12:18:59 +0000 Subject: [PATCH] Fixed a copy-and-paste error with the dates of my commits. removed a few * ChangeLog: Fixed a copy-and-paste error with the dates of my commits. * plug-ins/gimpressionist/ppmtool.c: removed a few commented-out asserts, and the function that was used to implement them. --- ChangeLog | 10 ++++++++-- plug-ins/gimpressionist/ppmtool.c | 15 --------------- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9713fbd6a2..39bde4eb47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-19 Shlomi Fish + + * ChangeLog: Fixed a copy-and-paste error with the dates of my commits. + * plug-ins/gimpressionist/ppmtool.c: removed a few commented-out + asserts, and the function that was used to implement them. + 2004-07-19 Michael Natterer * app/widgets/widgets-types.h: reordered and commented to match @@ -22,12 +28,12 @@ * app/core/core-types.h: reordered stuff to match the order in the API docs (makes keeping stuff in sync much easier). -2004-07-17 Shlomi Fish +2004-07-19 Shlomi Fish * plug-ins/gimpressionist/repaint.c: replaced a few if's+destructors pairs for ppm_ with just the destructors. -2004-07-17 Shlomi Fish +2004-07-19 Shlomi Fish * plug-ins/gimpressionist/repaint.c: normalized some identifiers of repaint.c, and corrected some indentation there. diff --git a/plug-ins/gimpressionist/ppmtool.c b/plug-ins/gimpressionist/ppmtool.c index e00284a89b..854e952bbd 100644 --- a/plug-ins/gimpressionist/ppmtool.c +++ b/plug-ins/gimpressionist/ppmtool.c @@ -28,12 +28,6 @@ int readline(FILE *f, char *buffer, int len) return 0; } -void fatal(char *s) -{ - fprintf(stderr, "%s\n", s); - exit(1); -} - void ppm_kill(ppm_t *p) { g_free(p->col); @@ -270,9 +264,6 @@ void ppm_load(const char *fn, ppm_t *p) fprintf(stderr, "ppm_load: Unable to open file \"%s\"!\n", fn); ppm_new(p, 10,10); return; -#if 0 - fatal("Aborting!"); -#endif } readline(f, line, 200); @@ -282,9 +273,6 @@ void ppm_load(const char *fn, ppm_t *p) printf( "ppm_load: File \"%s\" not PPM/PGM? (line=\"%s\")%c\n", fn, line, 7); ppm_new(p, 10,10); return; -#if 0 - fatal("Aborting!"); -#endif } pgm = 1; } @@ -296,9 +284,6 @@ void ppm_load(const char *fn, ppm_t *p) printf ("ppm_load: File \"%s\" not valid PPM/PGM? (line=\"%s\")%c\n", fn, line, 7); ppm_new(p, 10,10); return; -#if 0 - fatal("Aborting!"); -#endif } p->col = g_malloc(p->height * p->width * 3);