* src/winio.c (edit_draw): Move a check to a better place.
* src/winio.c (edit_draw): Rename a label and elide an 'else'.
* src/winio.c (edit_draw): Unindent after previous change.
+ * src/color.c (reset_multis_before, reset_multis_after): Delete four
+ superfluous checks.
2015-11-30 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (redo_cut, update_undo): When cutting reaches the EOF,
filestruct *oof;
for (oof = fileptr->next; oof != NULL; oof = oof->next) {
alloc_multidata_if_needed(oof);
- if (oof->multidata == NULL)
- continue;
if (oof->multidata[mindex] != CNONE)
oof->multidata[mindex] = -1;
else
}
for (; oof != NULL; oof = oof->next) {
alloc_multidata_if_needed(oof);
- if (oof->multidata == NULL)
- continue;
if (oof->multidata[mindex] == CNONE)
oof->multidata[mindex] = -1;
else
filestruct *oof;
for (oof = fileptr->prev; oof != NULL; oof = oof->prev) {
alloc_multidata_if_needed(oof);
- if (oof->multidata == NULL)
- continue;
if (oof->multidata[mindex] != CNONE)
oof->multidata[mindex] = -1;
else
}
for (; oof != NULL; oof = oof->prev) {
alloc_multidata_if_needed(oof);
- if (oof->multidata == NULL)
- continue;
if (oof->multidata[mindex] == CNONE)
oof->multidata[mindex] = -1;
else