ports/math/xgfe/files/patch-rotation.cpp
Kris Kennaway d3c24d35b2 Update to xgfe 2.1, switch to QT 3, respect NOPORTDOCS, fix build
with gcc 3.

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
PR:		ports/59024
2004-03-06 22:57:48 +00:00

14 lines
458 B
C++

diff -u rotation.cpp.orig rotation.cpp
--- rotation.cpp.orig Thu Jul 23 04:31:04 1998
+++ rotation.cpp Thu Oct 30 21:42:04 2003
@@ -62,8 +62,8 @@
void rotation::doOK()
{
- string scale = plotScalingEdit->text();
- string zscale = zAxisScalingEdit->text();
+ string scale = string(plotScalingEdit->text());
+ string zscale = string(zAxisScalingEdit->text());
gnuInt->setRotationXAxis(xAxisRotation);
gnuInt->setRotationZAxis(zAxisRotation);