Lines 1-5
Link Here
|
1 |
--- src/pafont.c.orig Thu Jun 29 20:30:15 2006 |
1 |
--- src/pafont.c.orig Tue Jul 25 05:49:39 2006 |
2 |
+++ src/pafont.c Fri Jun 30 23:49:19 2006 |
2 |
+++ src/pafont.c Fri Jul 28 16:28:48 2006 |
3 |
@@ -44,7 +44,7 @@ |
3 |
@@ -44,7 +44,7 @@ |
4 |
} |
4 |
} |
5 |
|
5 |
|
Lines 9-11
Link Here
|
9 |
{ |
9 |
{ |
10 |
PAFont xlfdfont; |
10 |
PAFont xlfdfont; |
11 |
char fontname[20]; |
11 |
char fontname[20]; |
|
|
12 |
@@ -86,7 +86,7 @@ |
13 |
{ |
14 |
ASSERT(xlfdfont); |
15 |
|
16 |
- XSetForeground(xlfdfont->display, xgc, xfldfont->color); |
17 |
+ XSetForeground(xlfdfont->display, xgc, xlfdfont->color); |
18 |
/* X and Y coordinates mark the top left corner of the text box, |
19 |
* so we need to sum the ascent value to y to make the shitty old |
20 |
* X font system draw the text at the right place */ |
21 |
@@ -149,7 +149,7 @@ |
22 |
XColor ecolor, scolor; |
23 |
|
24 |
XAllocNamedColor(xlfdfont->display, COLORMAP, name, &scolor, &ecolor); |
25 |
- xfldfont->color=scolor.pixel; |
26 |
+ xlfdfont->color=scolor.pixel; |
27 |
} |
28 |
|
29 |
#else |