76a9bb94b1
(Also sent patch to developer.)
23 lines
681 B
Text
23 lines
681 B
Text
$NetBSD: patch-ab,v 1.1 2008/04/05 18:33:32 reed Exp $
|
|
|
|
--- src/main.cpp.orig 2008-04-05 12:15:04.000000000 -0500
|
|
+++ src/main.cpp 2008-04-05 12:15:56.000000000 -0500
|
|
@@ -252,12 +252,16 @@
|
|
novawmFont = XLoadQueryFont (display, "lucidasans-12");
|
|
if (!novawmFont)
|
|
{
|
|
- printf ("Failed to load font!\n");
|
|
+ printf ("Failed to load lucidasans-12 font!\n");
|
|
novawmFont = XLoadQueryFont (display, "fixed");
|
|
}
|
|
|
|
nbFont = XLoadQueryFont (display, "lucidasans-10");
|
|
-
|
|
+ if (!nbFont)
|
|
+ {
|
|
+ printf ("Failed to load lucidasans-10 font!\n");
|
|
+ nbFont = XLoadQueryFont (display, "fixed");
|
|
+ }
|
|
|
|
gcvalues.function = GXcopy;
|
|
gcvalues.foreground = WhitePixel (display, screen);
|