[gnumeric] XLSX: allow single-quoted strings here.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] XLSX: allow single-quoted strings here.
- Date: Mon, 7 Jan 2019 18:42:11 +0000 (UTC)
commit 6ad61954cf28df696cdd9e92ca499e74d67cb5c1
Author: Morten Welinder <terra gnome org>
Date: Mon Jan 7 12:45:12 2019 -0500
XLSX: allow single-quoted strings here.
Single-quoted strings are used for sheet names.
plugins/excel/xlsx-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/excel/xlsx-utils.c b/plugins/excel/xlsx-utils.c
index 832da6268..69479dd11 100644
--- a/plugins/excel/xlsx-utils.c
+++ b/plugins/excel/xlsx-utils.c
@@ -515,7 +515,7 @@ xlsx_string_parser (char const *in, GString *target,
char quote = *in;
size_t oldlen = target->len;
- if (quote != '"')
+ if (quote != '"' && quote != '\'')
goto error;
in++;
while (*in) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]