aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.c2
-rw-r--r--src/wrap.c6
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 23a0692..7bfceb5 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1389,7 +1389,7 @@ static void dnd_receive(GtkWidget *widget, GdkDragContext *drag_context,
p->drag_corner_y - p->start_corner_y);
fr->sc = sc;
fr->sc_len = len;
- show_hierarchy(fr, "");
+ show_hierarchy(p->cur_edit_slide->top, "");
rerender_slide(p);
set_selection(p, fr);
redraw_editor(p);
diff --git a/src/wrap.c b/src/wrap.c
index 85143a5..7a1ac67 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -484,10 +484,8 @@ static void run_sc(const char *sc, struct sc_font *fonts, int *n_fonts,
{
if ( b->name == NULL ) {
- if ( split_words(boxes, pc, b->contents, b->offset,
- lang, &fonts[(*n_fonts)-1]) ) {
- fprintf(stderr, "Splitting failed.\n");
- }
+ split_words(boxes, pc, b->contents, b->offset,
+ lang, &fonts[(*n_fonts)-1]);
} else if ( (strcmp(b->name, "font")==0)
&& (b->contents == NULL) ) {