pkgsrc/editors/abiword/patches/patch-sa
adam 2032c5e1b2 Changes 2.8.6:
* Preserve character properties when typing. This fixes a bad regression that
  was introduced in 2.8.5.

Changes 2.8.5:
* Fix paste of rich text from HTML and ODT, where previously some formatting
  properties were not closed properly.
* Add a number of robustness fixes to the layout engine.
* Fix a table selection bug.
2010-11-26 14:49:49 +00:00

22 lines
680 B
Text

$NetBSD: patch-sa,v 1.3 2010/11/26 14:49:50 adam Exp $
--- src/af/util/xp/ut_misc.cpp.orig 2009-06-28 22:09:08.000000000 +0000
+++ src/af/util/xp/ut_misc.cpp
@@ -625,7 +625,7 @@ const gchar ** UT_splitPropsToArray(gcha
}
char * semi = NULL;
- const char * p = pProps;
+ char * p = pProps;
while((semi = (char *) strchr(p, ';')))
{
*semi = 0;
@@ -639,7 +639,7 @@ const gchar ** UT_splitPropsToArray(gcha
const gchar ** pPropsArray = new const gchar *[2 * iPropCount + 1];
UT_return_val_if_fail( pPropsArray, NULL );
- const char * pStart = pProps;
+ char * pStart = pProps;
// we want to include the 0-terminator
for(i = 0; i <= iLen; i++)