summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/xosd/files/2.2.4-font-align.patch')
-rw-r--r--x11-libs/xosd/files/2.2.4-font-align.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-libs/xosd/files/2.2.4-font-align.patch b/x11-libs/xosd/files/2.2.4-font-align.patch
new file mode 100644
index 000000000000..701f1859dc05
--- /dev/null
+++ b/x11-libs/xosd/files/2.2.4-font-align.patch
@@ -0,0 +1,24 @@
+--- src/xmms_plugin/xmms_osd.c.orig 2003-09-10 00:02:07.738701608 -0400
++++ src/xmms_plugin/xmms_osd.c 2003-09-10 00:02:25.132057416 -0400
+@@ -261,6 +261,10 @@
+ DEBUG("apply_config");
+ if (osd)
+ {
++ if (xosd_set_font (osd, font) == -1)
++ {
++ DEBUG("invalid font %s", font);
++ }
+ xosd_set_colour (osd, colour);
+ xosd_set_timeout (osd, timeout);
+ xosd_set_vertical_offset (osd, offset);
+@@ -269,10 +273,6 @@
+ xosd_set_outline_offset (osd, outline_offset);
+ xosd_set_pos (osd, pos);
+ xosd_set_align (osd, align);
+- if (xosd_set_font (osd, font) == -1)
+- {
+- DEBUG("invalid font %s", font);
+- }
+ }
+ DEBUG("done");
+ }