Move global curgoal to basic.

This commit is contained in:
Renaud 2013-10-10 11:49:04 +08:00
parent bd14ff374f
commit ceac004e30
4 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,8 @@
#include "window.h"
int overlap = 0 ; /* line overlap in forw/back page */
int overlap = 0 ; /* line overlap in forw/back page */
int curgoal ; /* Goal for C-P, C-N */
/*

View File

@ -1,7 +1,9 @@
#ifndef _BASIC_H_
#define _BASIC_H_
extern int overlap ; /* line overlap in forw/back page */
extern int overlap ; /* line overlap in forw/back page */
extern int curgoal ; /* Goal for C-P, C-N */
int gotobol( int f, int n) ;
int gotoeol( int f, int n) ;

View File

@ -14,4 +14,3 @@ int abortc = CONTROL | 'G'; /* current abort command char */
int thisflag; /* Flags, this command */
int lastflag; /* Flags, last command */
int curgoal; /* Goal for C-P, C-N */

View File

@ -18,6 +18,4 @@ extern int abortc; /* current abort command char */
extern int thisflag; /* Flags, this command */
extern int lastflag; /* Flags, last command */
extern int curgoal; /* Goal for C-P, C-N */
#endif