diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-06-02 14:40:46 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-06-02 14:40:46 (GMT) |
commit | 6876405cab150f08d2a81d5ecd777b4f0b9e8768 (patch) | |
tree | 97b450e857be07f1414e5744403994db48419be5 /src/glibext | |
parent | a689ebb776c6c95ae806e6449e0c90019fbb8a17 (diff) |
Made the binary export working again.
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/linesegment.h | 12 | ||||
-rw-r--r-- | src/glibext/seq.c | 3 |
2 files changed, 6 insertions, 9 deletions
diff --git a/src/glibext/linesegment.h b/src/glibext/linesegment.h index cb809fc..3585ffb 100644 --- a/src/glibext/linesegment.h +++ b/src/glibext/linesegment.h @@ -152,22 +152,18 @@ typedef enum _BufferExportType /* Elements sur lesquels une exportation peut s'appuyer */ typedef struct _buffer_export_context { - union - { - int fd; /* Flux ouvert en écriture */ - - }; + int fd; /* Flux ouvert en écriture */ union { /* BET_TEXT */ - const char *sep; /* Séparation entre colonnes */ + char *sep; /* Séparation entre colonnes */ /* BET_HTML */ struct { - const char *font_name; /* Police d'impression */ - const char *bg_color; /* Fond du tableau HTML */ + char *font_name; /* Police d'impression */ + char *bg_color; /* Fond du tableau HTML */ }; diff --git a/src/glibext/seq.c b/src/glibext/seq.c index 487f4b4..3474d72 100644 --- a/src/glibext/seq.c +++ b/src/glibext/seq.c @@ -343,6 +343,7 @@ static void g_seq_work_process(GSeqWork *work, GtkStatusStack *status) } - *(work->status) = (i == work->end && state); + if (work->type == SWT_BOOLEAN) + *(work->status) = (i == work->end && state); } |