diff options
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); } |