mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
emacs: more correct fix (re: 9ccb9572
)
sptr is set to drawbuff, but may change; drawbuff itself will not change and reading before the start of that was the actual cause of the crash.
This commit is contained in:
parent
9ccb9572f3
commit
f57f7b7a19
1 changed files with 1 additions and 1 deletions
|
@ -1445,7 +1445,7 @@ static void draw(register Emacs_t *ep,Draw_t option)
|
|||
*****************************************/
|
||||
|
||||
|
||||
if(logcursor > sptr)
|
||||
if(logcursor > drawbuff)
|
||||
i = *(logcursor-1); /* last character inserted */
|
||||
else
|
||||
i = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue