static int think (struct state *);
static unsigned long look (struct state *);
-#define FROM_ARGV 1
-#define FROM_PROGRAM 2
-#define FROM_FILE 3
-#define FROM_RESRC 4
-
#define IS_MOVING 1
-#define GET_PASSWD 2
#if defined(HAVE_GDK_PIXBUF) || defined(HAVE_XPM)
# include "images/noseguy/nose-f1.xpm"
if (!fontname || !*fontname)
fprintf (stderr, "%s: no font specified.\n", progname);
st->font = XLoadQueryFont(st->dpy, fontname);
- if (!st->font)
+ if (!st->font) {
fprintf (stderr, "%s: could not load font %s.\n", progname, fontname);
+ exit(1);
+ }
fg = get_pixel_resource (st->dpy, cmap, "foreground", "Foreground");
bg = get_pixel_resource (st->dpy, cmap, "background", "Background");