diff options
author | rcyeske <rcyeske> | 2001-02-19 20:47:29 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-19 20:47:29 +0000 |
commit | 241a4ef80ed34d43cad2629fdda8244b2d8d2619 (patch) | |
tree | c97fc4e68146684c45aa85c02a4e44bafa718b5e /src/main.c | |
parent | 47c2f70ea5b46197c3d8c5fd22725463ac499400 (diff) | |
download | ratpoison-241a4ef80ed34d43cad2629fdda8244b2d8d2619.zip |
renamed FONT and COLOR defines
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -257,10 +257,10 @@ main (int argc, char *argv[]) init_numbers (); init_window_list (); - font = XLoadQueryFont (dpy, FONT_NAME); + font = XLoadQueryFont (dpy, FONT); if (font == NULL) { - fprintf (stderr, "ratpoison: Cannot load font %s.\n", FONT_NAME); + fprintf (stderr, "ratpoison: Cannot load font %s.\n", FONT); exit (EXIT_FAILURE); } @@ -299,14 +299,14 @@ init_screen (screen_info *s, int screen_num) XGetWindowAttributes (dpy, s->root, &s->root_attr); /* Get our program bar colors */ - if (!XAllocNamedColor (dpy, s->def_cmap, BAR_FG_COLOR, &fg_color, &junk)) + if (!XAllocNamedColor (dpy, s->def_cmap, FOREGROUND, &fg_color, &junk)) { - fprintf (stderr, "ratpoison: Unknown color '%s'\n", BAR_FG_COLOR); + fprintf (stderr, "ratpoison: Unknown color '%s'\n", FOREGROUND); } - if (!XAllocNamedColor (dpy, s->def_cmap, BAR_BG_COLOR, &bg_color, &junk)) + if (!XAllocNamedColor (dpy, s->def_cmap, BACKGROUND, &bg_color, &junk)) { - fprintf (stderr, "ratpoison: Unknown color '%s'\n", BAR_BG_COLOR); + fprintf (stderr, "ratpoison: Unknown color '%s'\n", BACKGROUND); } /* if (!XAllocNamedColor (dpy, s->def_cmap, BAR_BOLD_COLOR, &bold_color, &junk)) */ |