blob: 6f3a9f4d307929064c68c08aeb792ceda21c90ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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);
|