still more cosmetic fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4143 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f03171917f
commit
d5a9800fb6
14
src/nano.c
14
src/nano.c
|
@ -400,18 +400,18 @@ void copy_from_filestruct(filestruct *file_top, filestruct *file_bot)
|
||||||
|
|
||||||
assert(file_top != NULL && file_bot != NULL);
|
assert(file_top != NULL && file_bot != NULL);
|
||||||
|
|
||||||
|
/* Partition the filestruct so that it contains no text, keep track
|
||||||
|
* of whether the top of the edit window is inside the partition,
|
||||||
|
* and keep track of whether the mark begins inside the partition
|
||||||
|
* and will need adjustment. */
|
||||||
|
filepart = partition_filestruct(openfile->current,
|
||||||
|
openfile->current_x, openfile->current, openfile->current_x);
|
||||||
|
edittop_inside = (openfile->edittop == openfile->fileage);
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
if (openfile->mark_set)
|
if (openfile->mark_set)
|
||||||
do_mark_shift = (openfile->current_x <= openfile->mark_begin_x);
|
do_mark_shift = (openfile->current_x <= openfile->mark_begin_x);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Partition the filestruct so that it contains no text, and keep
|
|
||||||
* track of whether the top of the edit window is inside the
|
|
||||||
* partition. */
|
|
||||||
filepart = partition_filestruct(openfile->current,
|
|
||||||
openfile->current_x, openfile->current, openfile->current_x);
|
|
||||||
edittop_inside = (openfile->edittop == openfile->fileage);
|
|
||||||
|
|
||||||
/* Put the top and bottom of the filestruct at copies of file_top
|
/* Put the top and bottom of the filestruct at copies of file_top
|
||||||
* and file_bot. */
|
* and file_bot. */
|
||||||
openfile->fileage = copy_filestruct(file_top);
|
openfile->fileage = copy_filestruct(file_top);
|
||||||
|
|
Loading…
Reference in New Issue