Mercurial > hg > xemacs-beta
diff src/menubar-x.c @ 3025:facf3239ba30
[xemacs-hg @ 2005-10-25 11:16:19 by ben]
rename new->new_, convert 'foo to `foo'
EmacsFrame.c, ExternalClient.c, ExternalShell.c, chartab.c, cmdloop.c, compiler.h, console.c, database.c, device-msw.c, device-x.c, device.c, doc.c, dragdrop.c, eval.c, event-msw.c, event-stream.c, events.c, extents.c, file-coding.c, fns.c, frame-tty.c, frame.c, gpmevent.c, gutter.c, hash.c, imgproc.c, indent.c, keymap.c, lisp-union.h, macros.c, malloc.c, marker.c, menubar-x.c, menubar.c, mule-charset.c, number.c, process.c, profile.h, ralloc.c, redisplay.c, select-common.h, select.c, syntax.c, sysfile.h, sysproc.h, systime.h, syswindows.h, toolbar.c, tooltalk.c, tparam.c, unexaix.c, unexalpha.c, unexconvex.c, unexec.c, unexhp9k800.c, unexmips.c, unicode.c, window.c: new -> new_.
'foo -> `foo'.
lwlib-internal.h: redo assert macros to follow lisp.h and not trigger warnings.
lwlib.c, xlwtabs.c: new -> new_.
author | ben |
---|---|
date | Tue, 25 Oct 2005 11:16:49 +0000 |
parents | 3d8143fc88e1 |
children | 383ab474a241 |
line wrap: on
line diff
--- a/src/menubar-x.c Tue Oct 25 08:32:50 2005 +0000 +++ b/src/menubar-x.c Tue Oct 25 11:16:49 2005 +0000 @@ -893,30 +893,30 @@ menu_move_down (void) { widget_value *current = lw_get_entries (False); - widget_value *new = current; + widget_value *new_ = current; - while (new->next) + while (new_->next) { - new = new->next; - if (new->name /*&& new->enabled*/) break; + new_ = new_->next; + if (new_->name /*&& new_->enabled*/) break; } - if (new==current||!(new->name/*||new->enabled*/)) + if (new_==current||!(new_->name/*||new_->enabled*/)) { - new = lw_get_entries (True); - while (new!=current) + new_ = lw_get_entries (True); + while (new_!=current) { - if (new->name /*&& new->enabled*/) break; - new = new->next; + if (new_->name /*&& new_->enabled*/) break; + new_ = new_->next; } - if (new==current&&!(new->name /*|| new->enabled*/)) + if (new_==current&&!(new_->name /*|| new_->enabled*/)) { lw_pop_menu (); return; } } - lw_set_item (new); + lw_set_item (new_); } static void