mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +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)
|
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
|
strCommon = strCommon.Left(ich); // shrink the common string
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue