diff options
author | Thomas White <taw@bitwiz.org.uk> | 2016-04-22 22:43:54 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2016-04-22 22:45:03 +0200 |
commit | bf21da066c16bd945f56230f726bc95e70f41bc2 (patch) | |
tree | d5f36ffa6c9d1175a6dbe4aeab6b22fd0db405b5 /src/sc_editor.c | |
parent | 044b25bb359c4b3254b947ca34a1491f5eb9f901 (diff) |
Slide adding works
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index fac8210..dcfd9fd 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -555,10 +555,10 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, SCEditor *e) } -void split_paragraph_at_cursor(SCEditor *e) +SCBlock *split_paragraph_at_cursor(SCEditor *e) { - split_paragraph(e->cursor_frame, e->cursor_para, - e->cursor_pos+e->cursor_trail, e->pc); + return split_paragraph(e->cursor_frame, e->cursor_para, + e->cursor_pos+e->cursor_trail, e->pc); } |