aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2017-11-26 20:02:53 +0100
committerThomas White <taw@bitwiz.org.uk>2017-11-26 20:02:53 +0100
commit2bf28d3b9de3ae3af076c569ffaccb66e13857f1 (patch)
treedd2ef413583e63ea589019fe687b0b599059bd34 /src/sc_editor.c
parent86e80d221809201f4cab608c5312bce8c76618a8 (diff)
Use config file for image store pathname
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index bd9a7b3..15ac49b 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -1963,7 +1963,7 @@ int sc_editor_get_num_paras(SCEditor *e)
SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock **stylesheets,
- PangoLanguage *lang)
+ PangoLanguage *lang, const char *storename)
{
SCEditor *sceditor;
GtkTargetEntry targets[1];
@@ -1977,7 +1977,7 @@ SCEditor *sc_editor_new(SCBlock *scblocks, SCBlock **stylesheets,
sceditor->log_h = 100;
sceditor->border_offs_x = 0;
sceditor->border_offs_y = 0;
- sceditor->is = imagestore_new();
+ sceditor->is = imagestore_new(storename);
sceditor->slidenum = 0;
sceditor->min_border = 0.0;
sceditor->top_editable = 0;