summaryrefslogtreecommitdiff
path: root/packages/directfb/files/fix-font-missing-char.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/directfb/files/fix-font-missing-char.patch')
-rw-r--r--packages/directfb/files/fix-font-missing-char.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/directfb/files/fix-font-missing-char.patch b/packages/directfb/files/fix-font-missing-char.patch
new file mode 100644
index 0000000000..4c5e5883f4
--- /dev/null
+++ b/packages/directfb/files/fix-font-missing-char.patch
@@ -0,0 +1,11 @@
+--- git/src/media/idirectfbfont.c~org 2007-07-10 10:35:46.000000000 -0400
++++ git/src/media/idirectfbfont.c 2007-07-10 10:36:09.000000000 -0400
+@@ -497,7 +497,7 @@
+
+ if (width<max_width && string >= end) {
+ *ret_next_line = NULL;
+- *ret_str_length = length-1;
++ *ret_str_length = length;
+ *ret_width = width;
+
+ return DFB_OK;