freebsd-ports/math/xgfe/files/patch-latexEmtexOp.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

16 lines
551 B
C++

diff -u latexEmtexOp.cpp.orig latexEmtexOp.cpp
--- latexEmtexOp.cpp.orig Tue May 19 03:20:25 1998
+++ latexEmtexOp.cpp Thu Oct 30 21:42:04 2003
@@ -71,9 +71,9 @@
void latexEmtexOp::setTerm()
{
// set options
- string font = FontList->currentText();
- string size = FontSizeList->currentText();
- string otherSize = FontSizeOther->text();
+ string font = string(FontList->currentText());
+ string size = string(FontSizeList->currentText());
+ string otherSize = string(FontSizeOther->text());
gnuInt->setTermLateXEmtexFont(font);