Commit 6ae445f3 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Add check here: only loop until the end of the string.

1999-03-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/fn-misc.c (gnumeric_clean): Add check here: only loop until
	the end of the string.
parent c3942b97
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-misc.c (gnumeric_clean): Add check here: only loop until
the end of the string.
* src/sheet.c (sheet_cell_foreach_range): Revert the arguments if
they are in a different order.
......
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-misc.c (gnumeric_clean): Add check here: only loop until
the end of the string.
* src/sheet.c (sheet_cell_foreach_range): Revert the arguments if
they are in a different order.
......
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-misc.c (gnumeric_clean): Add check here: only loop until
the end of the string.
* src/sheet.c (sheet_cell_foreach_range): Revert the arguments if
they are in a different order.
......
1999-03-08 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-misc.c (gnumeric_clean): Add check here: only loop until
the end of the string.
* src/sheet.c (sheet_cell_foreach_range): Revert the arguments if
they are in a different order.
......
......@@ -38,7 +38,7 @@ gnumeric_clean (FunctionDefinition *fn, Value *argv [], char **error_string)
p = argv [0]->v.str->str;
copy = q = g_malloc (strlen (p) + 1);
while (p){
while (*p){
if (isprint (*p))
*q++ = *p;
p++;
......
......@@ -38,7 +38,7 @@ gnumeric_clean (FunctionDefinition *fn, Value *argv [], char **error_string)
p = argv [0]->v.str->str;
copy = q = g_malloc (strlen (p) + 1);
while (p){
while (*p){
if (isprint (*p))
*q++ = *p;
p++;
......
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