Little refactoring of load_file_position, save_file_position (added new param 'offset')
commitb1de9bbd809c85c7022a96caea14200d9fa4692f
authorIlia Maslakov <il.smind@gmail.com>
Tue, 12 Jan 2010 11:51:01 +0000 (12 14:51 +0300)
committerIlia Maslakov <il.smind@gmail.com>
Tue, 19 Jan 2010 19:15:28 +0000 (19 19:15 +0000)
treebc97bd469182a01d666d82d840eb3b026af575e4
parentf31bbc49a68f31e4524f4fce434ad3a6083c32e4
Little refactoring of load_file_position, save_file_position (added new param 'offset')

Now viewer save/load only 'offset' and 'line' always = -1.
Changed editor edit_load_position, edit_save_position,
now if 'line' = -1 then used 'offset'

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
edit/edit.c
src/util.c
src/util.h
src/viewer/lib.c
src/viewer/mcviewer.c