summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
authorKaroly Lorentey <lorentey@elte.hu>2004-01-25 01:17:40 +0000
committerKaroly Lorentey <lorentey@elte.hu>2004-01-25 01:17:40 +0000
commitc3b4957fff207e1b7c92ddc8a1b0401892574fce (patch)
tree2742f5d458436c9eb52084e4139101e570306957 /src/cm.c
parent017bbc62df93de9f88171fc8ffb92c2e616d238b (diff)
downloademacs-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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cm.c b/src/cm.c
index 24c5ecba9d9..5ce03483b06 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -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 */