Lines 1-6
Link Here
|
1 |
--- src/wmapp.cc.orig |
1 |
--- src/wmapp.cc.orig 2013-11-17 16:54:39 UTC |
2 |
+++ src/wmapp.cc |
2 |
+++ src/wmapp.cc |
3 |
@@ -337,7 +337,7 @@ |
3 |
@@ -221,7 +221,7 @@ static void registerProtocols2(Window xid) { |
|
|
4 |
#endif |
5 |
|
6 |
long pid = getpid(); |
7 |
- const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")"; |
8 |
+ const char wmname[] = "IceWM " VERSION " (" HOSTOS "/" HOSTCPU ")"; |
9 |
|
10 |
#ifdef GNOME1_HINTS |
11 |
XChangeProperty(xapp->display(), xid, |
12 |
@@ -337,7 +337,7 @@ static void initFontPath(IApp *app) { |
4 |
int ndirs; // ------------------- retrieve the old X's font path --- |
13 |
int ndirs; // ------------------- retrieve the old X's font path --- |
5 |
char ** fontPath(XGetFontPath(xapp->display(), &ndirs)); |
14 |
char ** fontPath(XGetFontPath(xapp->display(), &ndirs)); |
6 |
|
15 |
|
Lines 9-15
Link Here
|
9 |
newFontPath[ndirs] = fontsdir; |
18 |
newFontPath[ndirs] = fontsdir; |
10 |
|
19 |
|
11 |
if (fontPath) |
20 |
if (fontPath) |
12 |
@@ -383,7 +383,7 @@ |
21 |
@@ -383,7 +383,7 @@ static void initFontPath(IApp *app) { |
13 |
XChangeProperty(xapp->display(), manager->handle(), |
22 |
XChangeProperty(xapp->display(), manager->handle(), |
14 |
XA_ICEWM_FONT_PATH, XA_STRING, 8, PropModeReplace, |
23 |
XA_ICEWM_FONT_PATH, XA_STRING, 8, PropModeReplace, |
15 |
(unsigned char *) fontsdir, strlen(fontsdir)); |
24 |
(unsigned char *) fontsdir, strlen(fontsdir)); |