Now print error to stderr unconditionally as the error display might be
authorMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 30 Jun 2014 01:50:14 +0000 (01:50 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Mon, 30 Jun 2014 01:50:14 +0000 (01:50 +0000)
bogus

mmsoftware/mystic_ships/client/src/screen.c

index 318614e..8c9175e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: screen.c,v 1.4 2014/06/29 23:56:13 mmondor Exp $ */
+/* $Id: screen.c,v 1.5 2014/06/30 01:50:14 mmondor Exp $ */
 
 /*
  * Copyright (c) 2006, 2014, Matthew Mondor
@@ -98,8 +98,8 @@ screen_error(const char *fmt, ...)
                font_blit_string(error_font, 32, 32, buf,
                    0xff, 0x0a, 0x0a, 0xff);
                SDL_Delay(3000);
-       } else
-               (void) fprintf(stderr, "%s\n", buf);
+       }
+       (void) fprintf(stderr, "%s\n", buf);
        exit(EXIT_FAILURE);
 }