1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

- don't crash when editing a NULL expression (e.g., default width)

- bounding boxes of silk objects now include the width
- # zooms and centers to currently active frame instance



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5378 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-08-03 21:52:21 +00:00
parent 6c2734f6ac
commit 3c026696d4
5 changed files with 36 additions and 9 deletions

View File

@@ -310,7 +310,8 @@ static int expr_activate(GtkWidget *widget, const char *s, void *ctx)
expr = try_parse_expr(s);
if (!expr)
return 0;
free_expr(*anchor);
if (*anchor)
free_expr(*anchor);
*anchor = expr;
entry_color(COLOR_EDIT_ASIS);
return 1;