[gnumeric] Stf: another potential crasher.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Stf: another potential crasher.
- Date: Wed, 16 Jan 2013 14:12:27 +0000 (UTC)
commit 81af9403263242f99f7ecd02256dc4cedd4726cc
Author: Morten Welinder <terra gnome org>
Date: Wed Jan 16 09:10:03 2013 -0500
Stf: another potential crasher.
In debug code, so no big deal.
src/stf-parse.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/stf-parse.c b/src/stf-parse.c
index 7c7b16e..8206d08 100644
--- a/src/stf-parse.c
+++ b/src/stf-parse.c
@@ -1505,7 +1505,8 @@ dump_guessed_options (const StfParseOptions_t *res)
switch (res->parsetype) {
case PARSE_TYPE_CSV:
g_printerr (" type = sep\n");
- g_printerr (" separator = %s\n", res->sep.chr);
+ g_printerr (" separator = %s\n",
+ res->sep.chr ? res->sep.chr : "(none)");
g_printerr (" see two as one = %s\n",
res->sep.duplicates ? "yes" : "no");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]