Commit [b8bda6] Maximize Restore History

Don't blindly increase offsets by the return value of snprintf, if there

wasn't enough space this will go off the end. Instead clamp to the
available space. Fixes crash reported by Julien Rebetez.

nicm nicm 2014-04-11

changed arguments.c
changed cmd-list.c
changed window-copy.c
arguments.c Diff Switch to side-by-side view
Loading...
cmd-list.c Diff Switch to side-by-side view
Loading...
window-copy.c Diff Switch to side-by-side view
Loading...