Dear all,
Please find attached a one-line fix for the Qt drivers, fixing a bug
preventing unicode characters from being displayed properly on
big-endian systems (e.g. PowerPC Macs).
Alban
Index: bindings/qt_gui/plqt.cpp
===================================================================
--- bindings/qt_gui/plqt.cpp (revision 10176)
+++ bindings/qt_gui/plqt.cpp (working copy)
@@ -233,7 +233,7 @@
{
if(text[i]!=(PLUNICODE)plplotEsc)
{
-
currentString.append(QString((QChar*)&(text[i]), 1));
+ currentString.append(QString(QChar(text[i])));
++i;
continue;
}
------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel