commit 27a209d20b1468992b00a520d410bf205e659cc5
Author: Andrew Wansink <ajwans at evostor.com>
Date: Thu Dec 24 14:43:03 2009 +1100
Ubuntu 9.10 defines strbrk to return const char * if the first
argument to strpbrk via a call from c++ is const char *.
diff --git a/src/view/text.cpp b/src/view/text.cpp
index 86a77e1..3565f3d 100644
--- a/src/view/text.cpp
+++ b/src/view/text.cpp
@@ -186,7 +186,7 @@ Text::Text(const QString &theString,
_width = (int)ceilf(x);
_depth = (int)ceilf(z);
- char *hasLow = strpbrk((const char *)theString.toAscii(), theHeightStr);
+ const char *hasLow = strpbrk((const char *)theString.toAscii(), theHeigh
if (pmDebug & DBG_TRACE_APPL1) {
QTextStream cerr(stderr);
|