Commit a090edea authored by Morten Welinder's avatar Morten Welinder

stf: fix problem with spaces.

parent 438d0e50
2011-02-21 Morten Welinder <terra@gnome.org>
* src/stf-parse.c (trim_spaces_inplace): Don't use strcpy for
overlapping areas. Hopefully fixes #642477.
* src/wbc-gtk.c (wbc_gtk_finalize): Cancel template loader handler
if necessary.
(wbc_gtk_create_notebook_area): Hold a ref to bnotebook so it
......
......@@ -14,6 +14,7 @@ Morten:
* Fix problem with single-cell names and 'r'-type arguments. [#613273]
* Plug a few leaks.
* Fix potential crash on quick exit.
* Fix stf import problem diagnosed by Andreas. [#642477]
--------------------------------------------------------------------------
Gnumeric 1.10.13
......
......@@ -469,7 +469,7 @@ trim_spaces_inplace (char *field, StfParseOptions_t const *parseoptions)
s = g_utf8_next_char (s);
if (s != field)
strcpy (field, s);
memmove (field, s, 1 + strlen (s));
}
if (parseoptions->trim_spaces & TRIM_TYPE_RIGHT) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment