[gnumeric] ssdiff: keep xml sections open as long as possible
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] ssdiff: keep xml sections open as long as possible
- Date: Mon, 4 Dec 2017 12:37:06 +0000 (UTC)
commit 5f983738a8ad541790cb822b5a48662bdf3874cf
Author: Morten Welinder <terra gnome org>
Date: Mon Dec 4 07:36:34 2017 -0500
ssdiff: keep xml sections open as long as possible
src/ssdiff.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/ssdiff.c b/src/ssdiff.c
index be2bb9d..a3ff16a 100644
--- a/src/ssdiff.c
+++ b/src/ssdiff.c
@@ -372,6 +372,8 @@ xml_close_section (GnmDiffState *state)
static void
xml_open_section (GnmDiffState *state, const char *section)
{
+ if (state->open_section && g_str_equal (section, state->open_section))
+ return;
xml_close_section (state);
gsf_xml_out_start_element (state->xml, section);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]