aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-05-02 21:29:01 +0200
committerThomas White <taw@bitwiz.me.uk>2019-05-02 23:02:40 +0200
commit0753d313b8c93a37fd4d3fbbaa24aa7b7aa26161 (patch)
tree73e7b385c4e0fc895c92c368ce44fdb2d8e7195c
parent8d555d1e8d73021a690425efb7ea1f52246f4884 (diff)
Formatting
-rw-r--r--libstorycode/stylesheet.c6
-rw-r--r--src/narrative_window.c16
-rw-r--r--src/stylesheet_editor.c1
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;
}
-