Commit 00da09bd authored by Tim Mooney's avatar Tim Mooney Committed by Arturo Espinosa

Do not test pointer for > 0, but for

1999-02-22  Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>

	* csv-io.c (insert_csv_cell): Do not test pointer for > 0, but for
parent fbb77807
1999-02-22 Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>
* csv-io.c (insert_csv_cell): Do not test pointer for > 0, but for
NULL.
1999-02-06 Vincent Renardias <vincent@ldsol.com>
* csv-io.h, csv-io.c: A few fixes.
......
......@@ -43,7 +43,7 @@ insert_csv_cell (Sheet* sheet, char *string, int start, int end, int col, int ro
if (start > 1 && end > 1){
p = g_malloc (end - start + 1);
g_assert (p > 0);
g_assert (p != NULL);
for (i = start; i <= end; i++){
p [ii++] = string [i];
......
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