+2014-05-16 Benno Schulenberg <bensberg@justemail.net>
+ * src/text.c, src/winio.c: Remove some more double spaces.
+
2014-05-16 David Lawrence Ramsey <pooka109@gmail.com>
* src/color.c, src/cut.c, src/text.c: Tweak some whitespace.
* src/global.c, src/move.c: Use TRUE and FALSE instead of 1 and 0.
u->strdata = NULL;
u->strdata2 = NULL;
u->cutbuffer = NULL;
- u->cutbottom = NULL;
+ u->cutbottom = NULL;
u->mark_set = 0;
u->mark_begin_lineno = fs->current->lineno;
- u->mark_begin_x = fs->current_x;
+ u->mark_begin_x = fs->current_x;
u->xflags = 0;
u->to_end = FALSE;
free(u->cutbuffer);
u->cutbuffer = copy_filestruct(cutbuffer);
u->mark_begin_lineno = fs->current->lineno;
- u->mark_begin_x = fs->current_x;
- u->lineno = fs->current->lineno + cutbottom->lineno - cutbuffer->lineno;
+ u->mark_begin_x = fs->current_x;
+ u->lineno = fs->current->lineno + cutbottom->lineno - cutbuffer->lineno;
filestruct *fs_buff = cutbuffer;
if (fs_buff->lineno == cutbottom->lineno)
while (fs_buff->lineno != cutbottom->lineno && fs_buff->next != NULL)
fs_buff = fs_buff->next;
assert(fs_buff->next != NULL);
- u->begin = get_totsize(fs_buff,cutbottom);
+ u->begin = get_totsize(fs_buff, cutbottom);
}
u->mark_set = TRUE;
fprintf(stderr, "current undo data now \"%s\"\n", u->strdata);
#endif
u->mark_begin_lineno = fs->current->lineno;
- u->mark_begin_x = fs->current_x;
+ u->mark_begin_x = fs->current_x;
break;
case DEL:
len = strlen(u->strdata) + 2;
continue;
}
- tmpcolno = strtol(maybecol, &convendptr, 10);
+ tmpcolno = strtol(maybecol, &convendptr, 10);
if (*convendptr != '\0') {
/* Previous field might still be
* line,col format. */
/* Read in the first character using whatever mode we're in. */
errcount = 0;
if (nodelay_mode) {
- if ((input = wgetch(win)) == ERR)
+ if ((input = wgetch(win)) == ERR)
return;
} else
while ((input = wgetch(win)) == ERR) {
#ifdef KEY_SUSPEND
/* Slang doesn't support KEY_SUSPEND. */
case KEY_SUSPEND:
- retval = sc_seq_or(do_suspend_void, 0);
+ retval = sc_seq_or(do_suspend_void, 0);
break;
#endif
#ifdef PDCURSES
/* Don't over-scroll on long lines. */
if (ISSET(SOFTWRAP) && (direction == UP_DIR)) {
ssize_t len = strlenpt(openfile->edittop->data) / COLS;
- i -= len;
+ i -= len;
if (len > 0)
do_redraw = TRUE;
}