Compare commits
2 Commits
4c4398b2e9
...
60273ffa39
Author | SHA1 | Date |
---|---|---|
jsg | 60273ffa39 | |
robert | 6a599fd2aa |
|
@ -40,10 +40,7 @@ static const char sccsid[] = "@(#)logout.c 4.02 97/04/01 xlockmore";
|
|||
#if ( HAVE_SYSLOG_H && defined( USE_SYSLOG ))
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
#if defined(__CYGWIN__) || defined(SOLARIS2)
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#include <sys/signal.h>
|
||||
|
||||
extern Bool inroot, inwindow, nolock, debug;
|
||||
extern char *logoutCmd;
|
||||
|
|
|
@ -73,8 +73,8 @@ Varray::~Varray( void )
|
|||
inline void
|
||||
Varray::update( Arc_ptr arc, long dir[2], REAL val )
|
||||
{
|
||||
register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
|
||||
register long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
|
||||
long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]);
|
||||
long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]);
|
||||
|
||||
if( dir[0] != ds || dir[1] != dt ) {
|
||||
dir[0] = ds;
|
||||
|
|
Loading…
Reference in New Issue