fix bug #474:
authorPaul Fox <pgf@brightstareng.com>
Mon, 28 Nov 2005 18:07:53 +0000 (18:07 -0000)
committerPaul Fox <pgf@brightstareng.com>
Mon, 28 Nov 2005 18:07:53 +0000 (18:07 -0000)
commitd957b9537ee2b93af93c92dbb8a2a6cfc3682318
tree6666c2de7ccb0bf480435053d9537b747f218f79
parent5a16a8942706839a57a600b5d11059ddfe2f94cd
fix bug #474:
     0000474: vi crashes often

problem was that the buffer used for "." command ("last_modifying_cmd")
wasn't being maintined correctly -- the recording code was walking back
over the front of that buffer when a repeatable insert command
included backspacing (e.g. "i\b\b\bfoo").  the fix is to simply
record the backspaces along with the rest of the command.

also, cleaned up start_new_cmd_q() slightly.
editors/vi.c