cantor 15.04.3
[git/cygwin-packages/cantor.git] / 15.04.3-fix-qalculate-backend.patch
CommitLineData
505883fe
YS
1--- origsrc/cantor-15.04.3/src/backends/qalculate/qalculateexpression.cpp 2015-05-31 07:00:53.000000000 -0500
2+++ src/cantor-15.04.3/src/backends/qalculate/qalculateexpression.cpp 2015-09-16 18:06:49.475864700 -0500
3@@ -771,9 +771,9 @@ void QalculateExpression::evaluatePlotCo
4 if (plotParameters.filetype == PLOT_FILETYPE_EPS ||
5 plotParameters.filetype == PLOT_FILETYPE_PS ||
6 (plotParameters.filetype == PLOT_FILETYPE_AUTO && p >= 4 &&
7- plotParameters.filename.substr(p-4,4) == QLatin1String(".eps")) ||
8+ plotParameters.filename.substr(p-4,4) == ".eps") ||
9 (plotParameters.filetype == PLOT_FILETYPE_AUTO && p >= 3 &&
10- plotParameters.filename.substr(p-3,3) == QLatin1String(".ps")))
11+ plotParameters.filename.substr(p-3,3) == ".ps"))
12 setResult(new Cantor::EpsResult(KUrl(plotParameters.filename.c_str())));
13 else
14 setResult(new Cantor::ImageResult(KUrl(plotParameters.filename.c_str())));
This page took 0.019363 seconds and 5 git commands to generate.