From 89e9beac74c82e38fd07db9ea30a82d821240c91 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 12 Oct 2004 09:51:53 +0000 Subject: Fix build on 4-stable Fix pkg-plist PR: ports/71875 Submitted by: Ports Fury --- editors/MathPlanner/files/patch-Maxmin.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 editors/MathPlanner/files/patch-Maxmin.cpp (limited to 'editors/MathPlanner/files/patch-Maxmin.cpp') 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.Rb.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")); } -- cgit v1.2.3