mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 23:21:11 +00:00
Fix linked-list pointer comparison.
This commit is contained in:
parent
9491979ac3
commit
6cc4e9f6f3
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ LPCTSTR PeekHistory(INT dir)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* key down */
|
/* key down */
|
||||||
if (entry->next == Bottom || entry == Bottom)
|
if (entry->prev == Bottom || entry == Bottom)
|
||||||
{
|
{
|
||||||
#ifdef WRAP_HISTORY
|
#ifdef WRAP_HISTORY
|
||||||
entry = Top;
|
entry = Top;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue