summaryrefslogtreecommitdiff
path: root/editors/abiword2/patches/patch-ab
blob: 400eb02b807752486739e4f2889386fcdcefdc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2003/12/14 03:24:51 xtraeme Exp $

--- src/af/util/xp/ut_iconv.cpp.orig	Thu Jul 17 15:12:55 2003
+++ src/af/util/xp/ut_iconv.cpp	Thu Jul 17 15:16:40 2003
@@ -295,8 +295,8 @@
     return (size_t)-1;
 
 
-  ICONV_CONST char ** buf = const_cast<ICONV_CONST char**>(inbuf);
-  return iconv( cd, buf, inbytesleft, outbuf, outbytesleft );
+  //ICONV_CONST char ** buf = const_cast<ICONV_CONST char**>(inbuf);
+  return iconv( cd, inbuf, inbytesleft, outbuf, outbytesleft );
 }
 
 int  UT_iconv_close( UT_iconv_t cd )