diff options
Diffstat (limited to 'app-benchmarks/acovea-gtk/files/acovea-gtk-1.0.1-unicode.patch')
-rw-r--r-- | app-benchmarks/acovea-gtk/files/acovea-gtk-1.0.1-unicode.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-benchmarks/acovea-gtk/files/acovea-gtk-1.0.1-unicode.patch b/app-benchmarks/acovea-gtk/files/acovea-gtk-1.0.1-unicode.patch new file mode 100644 index 000000000000..7486f3946609 --- /dev/null +++ b/app-benchmarks/acovea-gtk/files/acovea-gtk-1.0.1-unicode.patch @@ -0,0 +1,12 @@ +--- acovea-gtk-1.0.1/src/main_window.cc 2005-10-10 04:48:29.000000000 +0000 ++++ acovea-gtk-1.0.1/src/main_window.cc 2006-03-03 10:23:13.000000000 +0000 +@@ -488,7 +488,7 @@ + { + Glib::RefPtr<Gtk::TextBuffer> buffer = main_window_output->get_buffer(); + Gtk::TextIter end = buffer->end(); +- buffer->insert(buffer->end(),text->c_str()); ++ buffer->insert(buffer->end(),Glib::convert (text->c_str(), "UTF-8", "ISO-8859-1")); + } + + void main_window::set_ui_running(bool running) + |