diff options
author | Karoly Lorentey <lorentey@elte.hu> | 2004-01-25 01:17:40 +0000 |
---|---|---|
committer | Karoly Lorentey <lorentey@elte.hu> | 2004-01-25 01:17:40 +0000 |
commit | c3b4957fff207e1b7c92ddc8a1b0401892574fce (patch) | |
tree | 2742f5d458436c9eb52084e4139101e570306957 /src/cm.c | |
parent | 017bbc62df93de9f88171fc8ffb92c2e616d238b (diff) | |
download | emacs-c3b4957fff207e1b7c92ddc8a1b0401892574fce.tar.gz |
Cosmetic changes.
src/cm.c (calccost, cmgoto): Cosmetic changes.
src/keyboard.c (kbd_buffer_get_event, Fcurrent_input_mode): Ditto.
src/term.c: Cosmetic changes.
src/termchar.h (top_frame): Removed obsolete TODO comment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-67
Diffstat (limited to 'src/cm.c')
-rw-r--r-- | src/cm.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -264,11 +264,11 @@ x: * for using n2tabs, then pick the minimum. */ - /* cost for ntabs + cost for right motion */ + /* cost for ntabs + cost for right motion */ tabcost = ntabs ? ntabs * tty->Wcm->cc_tab + (dstx - tabx) * tty->Wcm->cc_right : BIG; - /* cost for n2tabs + cost for left motion */ + /* cost for n2tabs + cost for left motion */ c = n2tabs ? n2tabs * tty->Wcm->cc_tab + (tab2x - dstx) * tty->Wcm->cc_left : BIG; @@ -396,9 +396,9 @@ cmgoto (tty, row, col) { /* compute REAL direct cost */ cost = 0; - p = dcm == tty->Wcm->cm_habs - ? tgoto (dcm, row, col) - : tgoto (dcm, col, row); + p = (dcm == tty->Wcm->cm_habs + ? tgoto (dcm, row, col) + : tgoto (dcm, col, row)); emacs_tputs (tty, p, 1, evalcost); if (cost <= relcost) { /* really is cheaper */ |