diff options
-rw-r--r-- | libstorycode/stylesheet.c | 6 | ||||
-rw-r--r-- | src/narrative_window.c | 16 | ||||
-rw-r--r-- | src/stylesheet_editor.c | 1 |
3 files changed, 11 insertions, 12 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c index 2b549db..3bbddb3 100644 --- a/libstorycode/stylesheet.c +++ b/libstorycode/stylesheet.c @@ -73,9 +73,9 @@ struct _stylesheet static void copy_col(struct colour *to, struct colour from) { - int i; - for ( i=0; i<4; i++ ) to->rgba[i] = from.rgba[i]; - to->hexcode = from.hexcode; + int i; + for ( i=0; i<4; i++ ) to->rgba[i] = from.rgba[i]; + to->hexcode = from.hexcode; } diff --git a/src/narrative_window.c b/src/narrative_window.c index 2a955de..3ef43af 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -434,16 +434,16 @@ static void testcard_sig(GSimpleAction *action, GVariant *parameter, static gint export_pdf_response_sig(GtkWidget *d, gint response, Narrative *n) { - if ( response == GTK_RESPONSE_ACCEPT ) { - char *filename; - filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(d)); - render_slides_to_pdf(n, narrative_get_imagestore(n), filename); - g_free(filename); - } + if ( response == GTK_RESPONSE_ACCEPT ) { + char *filename; + filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(d)); + render_slides_to_pdf(n, narrative_get_imagestore(n), filename); + g_free(filename); + } - gtk_widget_destroy(d); + gtk_widget_destroy(d); - return 0; + return 0; } diff --git a/src/stylesheet_editor.c b/src/stylesheet_editor.c index a694f8f..c70b678 100644 --- a/src/stylesheet_editor.c +++ b/src/stylesheet_editor.c @@ -630,4 +630,3 @@ StylesheetEditor *stylesheet_editor_new(Stylesheet *ss) return se; } - |