diff options
author | Thomas White <taw@bitwiz.org.uk> | 2017-12-06 12:09:29 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2017-12-06 12:09:29 +0100 |
commit | a856b400d5cdddb1c3d7f7f4b9c078ab1dbfe1d0 (patch) | |
tree | 8324cb2d1d493bb41d258d316a940a3794b463e9 /src/presentation.c | |
parent | 6e3334144d83128d3957171deca65ee6a0bcf051 (diff) |
Fix some FIXMEs
Diffstat (limited to 'src/presentation.c')
-rw-r--r-- | src/presentation.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/presentation.c b/src/presentation.c index 01cbe1a..9765df9 100644 --- a/src/presentation.c +++ b/src/presentation.c @@ -118,8 +118,7 @@ struct presentation *new_presentation(const char *imagestore) new->stylesheet = NULL; new->is = imagestore_new(imagestore); - /* FIXME: Hardcoded */ - new->lang = pango_language_from_string("en_GB"); + new->lang = pango_language_get_default(); return new; } @@ -424,8 +423,7 @@ int load_presentation(struct presentation *p, const char *filename) p->scblocks = sc_parse(everything); free(everything); - /* FIXME: Hardcoded */ - p->lang = pango_language_from_string("en_GB"); + p->lang = pango_language_get_default(); if ( p->scblocks == NULL ) r = 1; |