Subversion Repositories planix.SVN

Rev

Rev 109 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 109 Rev 113
Line 14... Line 14...
14
#include "ex_tty.h"
14
#include "ex_tty.h"
15
#include "ex_vis.h"
15
#include "ex_vis.h"
16
 
16
 
17
extern bool	pflag, nflag;		/* mjm: extern; also in ex_cmds.c */
17
extern bool	pflag, nflag;		/* mjm: extern; also in ex_cmds.c */
18
extern int	poffset;		/* mjm: extern; also in ex_cmds.c */
18
extern int	poffset;		/* mjm: extern; also in ex_cmds.c */
19
void
-
 
20
vcontin(bool ask);
19
void vcontin(bool ask);
21
void resetflav();
20
void resetflav();
22
void setflav();
21
void setflav();
23
void error0();
22
void error0();
24
 
23
 
25
/*
24
/*
Line 251... Line 250...
251
	if (argc == 0)
250
	if (argc == 0)
252
		error("No more files@to edit");
251
		error("No more files@to edit");
253
	morargc = argc;
252
	morargc = argc;
254
	isalt = (strcmp(altfile, args)==0) + 1;
253
	isalt = (strcmp(altfile, args)==0) + 1;
255
	if (savedfile[0])
254
	if (savedfile[0])
256
		CP(altfile, savedfile);
255
		strcpy(altfile, savedfile);
257
	CP(savedfile, args);
256
	strcpy(savedfile, args);
258
	argc--;
257
	argc--;
259
	args = argv ? *++argv : strend(args) + 1;
258
	args = argv ? *++argv : strend(args) + 1;
260
}
259
}
261
 
260
 
262
/*
261
/*
Line 479... Line 478...
479
 
478
 
480
/*
479
/*
481
 * Continue after a : command from open/visual.
480
 * Continue after a : command from open/visual.
482
 */
481
 */
483
void
482
void
484
vcontin(ask)
483
vcontin(bool ask)
485
	bool ask;
-
 
486
{
484
{
487
 
485
 
488
	if (vcnt > 0)
486
	if (vcnt > 0)
489
		vcnt = -vcnt;
487
		vcnt = -vcnt;
490
	if (inopen) {
488
	if (inopen) {