diff options
author | George Williams <pfaedit@users.sourceforge.net> | 2011-03-06 06:30:18 -0800 |
---|---|---|
committer | George Williams <pfaedit@users.sourceforge.net> | 2011-03-06 06:30:18 -0800 |
commit | 17bceb391d65fb29d983a80750ff043de27b8d37 (patch) | |
tree | a5cb7b4c7321db2320abae663c863509e118576c /fontforge | |
parent | dd3dcba64db15e427c6ae25cf070ba23bbdf628b (diff) |
Invoking Expand Stroke caused a crash.
Diffstat (limited to 'fontforge')
-rw-r--r-- | fontforge/cvstroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fontforge/cvstroke.c b/fontforge/cvstroke.c index 6cc2a501..cb88a78d 100644 --- a/fontforge/cvstroke.c +++ b/fontforge/cvstroke.c @@ -718,7 +718,7 @@ static void MakeStrokeDlg(void *cv,void (*strokeit)(void *,StrokeInfo *,int),Str sd->si = si; yoff = 18; } - if ( sd->old_poly==NULL && si->poly!=NULL ) { + if ( sd->old_poly==NULL && si!=NULL && si->poly!=NULL ) { sd->old_poly = si->poly; si->poly = NULL; } |