summaryrefslogtreecommitdiff
path: root/editors/biew/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'editors/biew/patches/patch-ac')
-rw-r--r--editors/biew/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/biew/patches/patch-ac b/editors/biew/patches/patch-ac
new file mode 100644
index 00000000000..bd988990ace
--- /dev/null
+++ b/editors/biew/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2006/06/30 22:22:58 wiz Exp $
+
+--- biewlib/sysdep/ia16/cmn_ix86.c.orig 2003-03-27 06:19:30.000000000 +0000
++++ biewlib/sysdep/ia16/cmn_ix86.c
+@@ -47,7 +47,7 @@ static unsigned long __NEAR__ __FASTCALL
+ ctrl_arr = c_arr;
+ /* align pointer on 16-byte boundary */
+
+- if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15);
++ if((tUInt32)ctrl_arr & 15) ctrl_arr = ((tUInt32)ctrl_arr) + 16-((tUInt32)ctrl_arr&15);
+
+ memset(ctrl_arr,0,sizeof(ctrl_arr));
+ if(time_interval)