mirror of
https://github.com/reactos/reactos.git
synced 2026-05-22 23:30:07 +08:00
Fix linked-list pointer comparison.
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
9491979ac3
commit
6cc4e9f6f3
@@ -309,7 +309,7 @@ LPCTSTR PeekHistory(INT dir)
|
||||
else
|
||||
{
|
||||
/* key down */
|
||||
if (entry->next == Bottom || entry == Bottom)
|
||||
if (entry->prev == Bottom || entry == Bottom)
|
||||
{
|
||||
#ifdef WRAP_HISTORY
|
||||
entry = Top;
|
||||
|
||||
Reference in New Issue
Block a user