summaryrefslogtreecommitdiff
path: root/editors/lyx-qt/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lyx-qt/patches/patch-ak')
-rw-r--r--editors/lyx-qt/patches/patch-ak13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/lyx-qt/patches/patch-ak b/editors/lyx-qt/patches/patch-ak
new file mode 100644
index 00000000000..a506d890cf2
--- /dev/null
+++ b/editors/lyx-qt/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.1 2005/07/19 17:49:33 drochner Exp $
+
+--- src/frontends/qt2/QPrefs.C.orig 2005-07-18 19:00:12.000000000 +0200
++++ src/frontends/qt2/QPrefs.C
+@@ -347,7 +347,7 @@ void setComboxFont(QComboBox * cb, strin
+ string const & default_font_name = tmp.first;
+
+ for (int i = cb->count() - 1; i >= 0; --i) {
+- if (cb->text(i) == default_font_name) {
++ if (fromqstr(cb->text(i)) == default_font_name) {
+ cb->setCurrentItem(i);
+ return;
+ }