mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
parent
c19d9df259
commit
71e4450761
1 changed files with 2 additions and 1 deletions
|
@ -830,7 +830,8 @@ VOID CAutoComplete::DoAutoAppend()
|
|||
|
||||
for (INT ich = 0; ich < strCommon.GetLength(); ++ich)
|
||||
{
|
||||
if (ich < strItem.GetLength() && strCommon[ich] != strItem[ich])
|
||||
if (ich < strItem.GetLength() &&
|
||||
::ChrCmpIW(strCommon[ich], strItem[ich]) != 0)
|
||||
{
|
||||
strCommon = strCommon.Left(ich); // shrink the common string
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue