diff options
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index ce246ca..7af97a9 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -1027,6 +1027,7 @@ static void rewrap_paragraph_range(struct frame *fr, int a, int b, a = b; b = t; } + if ( fr == NULL ) return; if ( fr->paras == NULL ) return; sort_positions(&sel_start, &sel_end); |