aboutsummaryrefslogtreecommitdiff
path: root/math/gcalctool/files/patch-gcalctool_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/gcalctool/files/patch-gcalctool_functions.c')
-rw-r--r--math/gcalctool/files/patch-gcalctool_functions.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/gcalctool/files/patch-gcalctool_functions.c b/math/gcalctool/files/patch-gcalctool_functions.c
new file mode 100644
index 000000000000..ba3d6af38beb
--- /dev/null
+++ b/math/gcalctool/files/patch-gcalctool_functions.c
@@ -0,0 +1,19 @@
+--- gcalctool/functions.c.orig Mon Feb 28 17:07:30 2005
++++ gcalctool/functions.c Mon Feb 28 17:07:43 2005
+@@ -311,7 +311,6 @@
+ void
+ trig_filter(char **func)
+ {
+- assert(func);
+
+ enum mode {
+ normal = 0,
+@@ -322,6 +321,8 @@
+
+ int inverse;
+ int hyperbolic;
++
++ assert(func);
+
+ inverse = (v->inverse) ? inv : 0;
+ hyperbolic = (v->hyperbolic) ? hyp : 0;