Subversion Repositories SvarDOS

Compare Revisions

Regard whitespace Rev 1421 → Rev 1422

/sved/trunk/sved.c
387,7 → 387,9
 
 
static void cursor_up(struct file *db) {
if (db->cursor->prev != NULL) {
 
if (db->cursor->prev == NULL) return;
 
db->curline -= 1;
db->cursor = db->cursor->prev;
if (db->cursorposy == 0) {
397,7 → 399,6
db->cursorposy -= 1;
}
}
}
 
 
static void cursor_eol(struct file *db) {
418,7 → 419,9
 
 
static void cursor_down(struct file *db) {
if (db->cursor->next != NULL) {
 
if (db->cursor->next == NULL) return;
 
db->curline += 1;
db->cursor = db->cursor->next;
if (db->cursorposy < screenh - 2) {
428,7 → 431,6
uidirty.to = 0xff;
}
}
}
 
 
static void cursor_left(struct file *db) {