projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix crash on clearing new Move List window
[xboard.git]
/
history.c
diff --git
a/history.c
b/history.c
index
6773133
..
503f6a0
100644
(file)
--- a/
history.c
+++ b/
history.c
@@
-174,7
+174,7
@@
void MemoContentUpdated()
{
int caretPos;
- DoHighlight( lastCurrent, FALSE );
+ if(lastCurrent <= currLast) DoHighlight( lastCurrent, FALSE );
DoHighlight( currCurrent, TRUE );
lastFirst = currFirst;