Commit 8fb8d9ed authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Trim leading spaces.

1999-04-16  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/clipboard.c (new_node): Trim leading spaces.
parent bd26c818
1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/clipboard.c (new_node): Trim leading spaces.
1999-04-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c: Added EVEN, FACTDOUBLE, ODD, QUOTIENT, and
......
1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/clipboard.c (new_node): Trim leading spaces.
1999-04-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c: Added EVEN, FACTDOUBLE, ODD, QUOTIENT, and
......
1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/clipboard.c (new_node): Trim leading spaces.
1999-04-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c: Added EVEN, FACTDOUBLE, ODD, QUOTIENT, and
......
1999-04-16 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/clipboard.c (new_node): Trim leading spaces.
1999-04-16 Jukka-Pekka Iivonen <iivonen@iki.fi>
* src/fn-math.c: Added EVEN, FACTDOUBLE, ODD, QUOTIENT, and
......
......@@ -182,6 +182,10 @@ new_node (GList *list, char *data, char *p, int col, int row)
CellCopy *c_copy;
char *text;
/* Eliminate spaces */
while (*data == ' ' && *data)
data++;
text = g_malloc (p-data+1);
text = strncpy (text, data, p-data);
text [p-data] = 0;
......
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