summaryrefslogtreecommitdiff
path: root/editors/MathPlanner/files/patch-Maxmin.cpp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-10-12 09:51:53 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-10-12 09:51:53 +0000
commit89e9beac74c82e38fd07db9ea30a82d821240c91 (patch)
tree1690ecffb3b77a480e7b0c13ebce77f2a4ab6275 /editors/MathPlanner/files/patch-Maxmin.cpp
parentAdd WWW, which I found while making the distfile fetcheable again (diff)
Fix build on 4-stable
Fix pkg-plist PR: ports/71875 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=118886
Diffstat (limited to 'editors/MathPlanner/files/patch-Maxmin.cpp')
-rw-r--r--editors/MathPlanner/files/patch-Maxmin.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/MathPlanner/files/patch-Maxmin.cpp b/editors/MathPlanner/files/patch-Maxmin.cpp
new file mode 100644
index 000000000000..e70aff79ee26
--- /dev/null
+++ b/editors/MathPlanner/files/patch-Maxmin.cpp
@@ -0,0 +1,15 @@
+--- src/Maxmin.cpp.orig Fri Oct 11 19:16:00 2002
++++ src/Maxmin.cpp Sun Sep 12 00:26:29 2004
+@@ -26,10 +26,10 @@
+ b=Outer->Calculate();
+
+ if (a.type==MN_REAL && b.type==MN_REAL) {
+- if (Opr==0) if (a.R<b.R) value=a;
++ if (Opr==0) if (a.mpl.m.R<b.mpl.m.R) value=a;
+ else value=b;
+
+- if (Opr==1) if (a.R>b.R) value=a;
++ if (Opr==1) if (a.mpl.m.R>b.mpl.m.R) value=a;
+ else value=b;
+ }
+ else { Error_flag=true; AppControl->AddError(QObject::tr("Only Real numbers are supported")); }