Fix a segv If there are no gadget on the desk and you press 'ok' or 'apply' in the gadman config.

SVN revision: 35315
This commit is contained in:
Davide Andreoli 2008-08-03 19:29:04 +00:00
parent d5a43ed6b7
commit aaec9cf160
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ gadman_gadget_edit_end(void)
Man->gc->editing = 0;
Man->gc_top->editing = 0;
_save_widget_position(current);
if (current) _save_widget_position(current);
}
void