(empty message)

This commit is contained in:
Alexander S. Aganichev
2001-02-21 21:26:28 +00:00
parent 5c5191aafe
commit 3781f634e5
10 changed files with 118 additions and 126 deletions

View File

@@ -698,7 +698,7 @@ CfgGed::CfgGed() {
dispmsgsize = DISPMSGSIZE_BYTES;
disptabsize = 8;
encodeemailheaders = true;
externoptions = EXTUTIL_CLS | EXTUTIL_SWAP | EXTUTIL_CURSOR | EXTUTIL_RELOAD | EXTUTIL_PAUSEONERROR | EXTUTIL_KEEPCTRL;
externoptions = EXTUTIL_CLS | EXTUTIL_CURSOR | EXTUTIL_RELOAD | EXTUTIL_PAUSEONERROR | EXTUTIL_KEEPCTRL;
ezycomuserno = 0;
fidomsgtype = MT_OPUS;
fidouserno = 0;

View File

@@ -232,21 +232,6 @@ const int REPLYLINKLIST_FAST = 0;
const int REPLYLINKLIST_FULL = 1;
// ------------------------------------------------------------------
#define GSWAP_ENABLED 0x8000
#define GSWAP_DISK (GSWAP_ENABLED|USE_FILE)
#define GSWAP_EMS (GSWAP_ENABLED|USE_EMS)
#define GSWAP_XMS (GSWAP_ENABLED|USE_XMS)
#define GSWAP_ALL (GSWAP_ENABLED|USE_ALL)
#define GSWAP_NONE 0
#define GSWAP_EMS_FIRST EMS_FIRST
#define GSWAP_XMS_FIRST XMS_FIRST
#define GSWAP_HIDE_FILE HIDE_FILE
#define GSWAP_NO_PREALLOC NO_PREALLOC
#define GSWAP_CHECK_NET CHECK_NET
// ------------------------------------------------------------------
const int KEYB_BLOCK = 0;
@@ -601,7 +586,6 @@ struct infoLookup {
// Structures and constants for external utilities
const int EXTUTIL_CLS = 0x0001;
const int EXTUTIL_SWAP = 0x0002;
const int EXTUTIL_CURSOR = 0x0004;
const int EXTUTIL_RELOAD = 0x0008;
const int EXTUTIL_PAUSE = 0x0010;

View File

@@ -198,9 +198,7 @@ void Cleanup(void) {
// ------------------------------------------------------------------
// Multipurpose DOS shell function
int ShellToDos(char* command, char* message, int cls, int cursor, int swap, int pause) {
NW(swap);
int ShellToDos(char* command, char* message, int cls, int cursor, int pause) {
int error = 0;

View File

@@ -1114,13 +1114,13 @@ void IEclass::GoWordRight() {
GFTRK("EditGoWordRight");
if((currline->txt.length() >= col) or (currline->txt[col] == '\n')) {
if((col >= currline->txt.length()) or (currline->txt[col] == '\n')) {
if(currline->next) {
GoDown();
col = 0;
}
}
else {
}
else {
size_t len = currline->txt.length();
if(not isxalnum(currline->txt[col])) {
while(not isxalnum(currline->txt[col]) and ((col+1) <= len))

View File

@@ -372,27 +372,16 @@ static void w_back() {
static void w_brag() {
char buf[200];
char* logo[6];
logo[0] = throw_strdup(" 88 88 88 ");
logo[1] = throw_strdup(" oooooo oooooo 88 oooo88 oooooo oooo88 o ");
logo[2] = throw_strdup(" 88 88 88 88 88 88 88 88oo88 88 88 o8o ");
logo[3] = throw_strdup(" 88oo88 88oo88 88 88oo88 88oooo 88oo88 8 ");
logo[4] = throw_strdup(" oo 88 ");
logo[5] = throw_strdup(" 88oooooo88 ");
W_READ = wopen_(1, 2, MAXROW-4, MAXCOL-5, W_BBRAG, C_BRAGB, C_BRAGW);
w_shadow();
wprints(0, 0, C_BRAGT|ACSET, logo[0]);
wprints(1, 0, C_BRAGT|ACSET, logo[1]);
wprints(2, 0, C_BRAGT|ACSET, logo[2]);
wprints(3, 0, C_BRAGT|ACSET, logo[3]);
wprints(4, 0, C_BRAGT|ACSET, logo[4]);
wprints(5, 0, C_BRAGT|ACSET, logo[5]);
for(int n=0; n<6; n++)
throw_free(logo[n]);
wprints(0, 0, C_BRAGT|ACSET, " 88 88 88 ");
wprints(1, 0, C_BRAGT|ACSET, " oooooo oooooo 88 oooo88 oooooo oooo88 o ");
wprints(2, 0, C_BRAGT|ACSET, " 88 88 88 88 88 88 88 88oo88 88 88 o8o ");
wprints(3, 0, C_BRAGT|ACSET, " 88oo88 88oo88 88 88oo88 88oooo 88oo88 8 ");
wprints(4, 0, C_BRAGT|ACSET, " oo 88 ");
wprints(5, 0, C_BRAGT|ACSET, " 88oooooo88 ");
wprints(4, 43-strlen(__gver_longpid__), C_BRAGW, __gver_longpid__);

View File

@@ -115,7 +115,7 @@ void SaveLines(int mode, const char* savefile, GMsg* msg, bool clip=false);
// GEDOSS prototypes
void Cleanup(void);
int ShellToDos(char* command, char* message, int cls, int cursor, int swap=YES, int pause=NO);
int ShellToDos(char* command, char* message, int cls, int cursor, int pause=NO);
// ------------------------------------------------------------------

View File

@@ -558,7 +558,6 @@ int ExternUtil(GMsg* msg, int utilno) {
ShellToDos(cmdline, "",
extutil->options & EXTUTIL_CLS ? LGREY|_BLACK : 0,
extutil->options & EXTUTIL_CURSOR,
extutil->options & EXTUTIL_SWAP,
pauseval
);

View File

@@ -244,13 +244,6 @@ void addressbook_form::before() { gwinput2::before(); };
bool addressbook_form::validate() {
if(current->id == id_name) {
if(g->find_entry(current->buf)) {
LoadForm();
reload_all();
go_next_field();
}
}
return true;
}