Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1392 → Rev 1391

/sved/trunk/sved.c
293,9 → 293,6
const struct line far *l;
unsigned char y = db->cursorposy;
 
/* quit early if nothing to refresh */
if (uidirty.from == 0xff) return;
 
#ifdef DBG_REFRESH
static char m = 'a';
m++;
358,9 → 355,6
if (col >= screenh - 1) col = screenh - 2;
mdr_cout_char(col, screenw - 1, ' ', SCHEME_SCROLL);
}
 
/* clear out the dirty flag */
uidirty.from = 0xff;
}
 
 
893,7 → 887,7
SCHEME_MENU_SEL = 0x66;
SCHEME_STBAR1 = 0x70;
SCHEME_STBAR2 = 0x78;
SCHEME_STBAR3 = 0x3f;
SCHEME_STBAR3 = 0x70;
SCHEME_SCROLL = 0x70;
SCHEME_MSG = 0x6f;
SCHEME_ERR = 0x4f;
912,8 → 906,10
check_cursor_not_after_eol(db);
mdr_cout_locate(db->cursorposy, db->cursorposx);
 
ui_refresh(db);
 
if (uidirty.from != 0xff) {
ui_refresh(db);
uidirty.from = 0xff;
}
if ((uidirty.statusbar != 0) || (db->modflagprev != db->modflag)) {
ui_basic(db, curfile);
uidirty.statusbar = 0;
995,14 → 991,9
int quitnow = 0;
char fname[25];
int saveflag = 0;
unsigned short ui_action;
 
/* collect the exact menu action and clear the screen */
ui_action = ui_menu();
ui_refresh(db);
switch (ui_menu()) {
 
switch (ui_action) {
 
case MENU_NONE:
break;