X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/7be1c708c5abc7dea388d45454bd19bff07b7943..40ba43b4b71df1d51954bdad071e74243c4aea7c:/lwlib/xlwmenu.c diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index e9ec604ae7..0128464d6e 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -113,7 +113,7 @@ xlwMenuTranslations [] = : key()\n\ "; -/* FIXME: Space should toggle toggleable menu item but not remove the menu +/* FIXME: Space should toggle togglable menu item but not remove the menu so you can toggle the next one without entering the menu again. */ /* FIXME: Should ESC close one level of menu structure or the complete menu? */ @@ -1486,7 +1486,7 @@ remap_menubar (XlwMenuWidget mw) if (new_selection && !new_selection->enabled) new_selection = NULL; - /* Call callback when the hightlighted item changes. */ + /* Call callback when the highlighted item changes. */ if (old_selection || new_selection) XtCallCallbackList ((Widget)mw, mw->menu.highlight, (XtPointer) new_selection); @@ -1891,7 +1891,7 @@ openXftFont (XlwMenuWidget mw) } } - if (fname != mw->menu.fontName) free (fname); + if (fname != mw->menu.fontName) xfree (fname); return mw->menu.xft_font != 0; }