PKGBUILDs/community/fillets-ng/fillets-ng-gccfix.diff

9 lines
514 B
Diff
Raw Normal View History

2009-10-10 02:15:33 +00:00
--- src/effect/Font.cpp.orig 2009-06-21 12:58:06.000000000 +0200
+++ src/effect/Font.cpp 2009-06-21 12:58:06.000000000 +0200
@@ -29 +29 @@
- int ucsLength = fribidi_utf8_to_unicode(const_cast<char*>(text.c_str()),
+ int ucsLength = fribidi_charset_to_unicode(FRIBIDI_CHAR_SET_UTF8, const_cast<char*>(text.c_str()),
@@ -40 +40 @@
- int length = fribidi_unicode_to_utf8(visualString, ucsLength, buffer);
+ int length = fribidi_unicode_to_charset(FRIBIDI_CHAR_SET_UTF8, visualString, ucsLength, buffer);