/* Cursor motion subroutines for GNU Emacs.
- Copyright (C) 1985, 1995, 2001-2013 Free Software Foundation, Inc.
+ Copyright (C) 1985, 1995, 2001-2016 Free Software Foundation, Inc.
based primarily on public domain code written by Chris Torek
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+the Free Software Foundation, either version 3 of the License, or (at
+your option) any later version.
GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <stdio.h>
#include "lisp.h"
-#include "frame.h"
#include "cm.h"
-#include "termhooks.h"
#include "termchar.h"
#include "tparam.h"
if (doit)
do
emacs_tputs (tty, p, 1, cmputc);
- while (0 < --deltay);
+ while (--deltay > 0);
x:
if ((deltax = dstx - srcx) == 0)
goto done;
if (doit)
do
emacs_tputs (tty, p, 1, cmputc);
- while (0 < --deltax);
+ while (--deltax > 0);
done:
return totalcost;
}
llcost,
relcost,
directcost;
- int use IF_LINT (= 0);
+ int use UNINIT;
char *p;
const char *dcm;