summaryrefslogtreecommitdiff
path: root/editors/biew/patches/patch-af
blob: 20f79c074fefdf6d1d88990ac999ff1aae64f0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-af,v 1.1 2006/06/30 22:22:58 wiz Exp $

--- biewlib/twin.c.orig	2003-05-28 16:30:26.000000000 +0000
+++ biewlib/twin.c
@@ -1891,9 +1891,9 @@ int __FASTCALL__ twPutS(const char *str)
        strcpy(__nls,str);
        __nls_OemToOsdep((unsigned char *)__nls,len);
      }
-     else (const char *)__nls = str;
+     else __nls = str;
   }
-  else (const char *)__nls = str;
+  else __nls = str;
   __nls_ptr = __nls;
   __oem_ptr = str;
   vidx = active->cur_x + active->cur_y*active->wwidth;