|
From: <and...@us...> - 2009-07-24 20:11:09
|
Revision: 10177
http://plplot.svn.sourceforge.net/plplot/?rev=10177&view=rev
Author: andrewross
Date: 2009-07-24 20:11:00 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
ANR for Alban Rochel - 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).
Modified Paths:
--------------
trunk/bindings/qt_gui/plqt.cpp
Modified: trunk/bindings/qt_gui/plqt.cpp
===================================================================
--- trunk/bindings/qt_gui/plqt.cpp 2009-07-23 18:02:03 UTC (rev 10176)
+++ trunk/bindings/qt_gui/plqt.cpp 2009-07-24 20:11:00 UTC (rev 10177)
@@ -233,7 +233,7 @@
{
if(text[i]!=(PLUNICODE)plplotEsc)
{
- currentString.append(QString((QChar*)&(text[i]), 1));
+ currentString.append(QString(QChar(text[i])));
++i;
continue;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|