* editwidget.c: Don't dereference WButtonBar.

This commit is contained in:
Roland Illig 2005-06-14 13:00:09 +00:00
parent 468ab7a3cd
commit 0ee0936513
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-06-14 Roland Illig <roland.illig@gmx.de>
* editwidget.c: Don't dereference WButtonBar.
2005-05-23 Roland Illig <roland.illig@gmx.de>
* editwidget.c: Removed casts on function pointer types.

View File

@ -147,7 +147,7 @@ edit_adjust_size (Dlg_head *h)
edit_bar = find_buttonbar (h);
widget_set_size (&edit->widget, 0, 0, LINES - 1, COLS);
widget_set_size (&edit_bar->widget, LINES - 1, 0, 1, COLS);
widget_set_size ((Widget *) edit_bar, LINES - 1, 0, 1, COLS);
widget_set_size (&edit_menubar->widget, 0, 0, 1, COLS);
#ifdef RESIZABLE_MENUBAR