[NTOBJSHEX] Fix typo.
authorSergei Abramov <ast6x4@yandex.ru>
Tue, 3 Oct 2017 10:35:31 +0000 (12:35 +0200)
committerAlexander Shaposhnikov <sanchaez@hotmail.com>
Wed, 4 Oct 2017 07:16:12 +0000 (10:16 +0300)
Patch by Sergei Abramov.
CORE-13863

dll/shellext/ntobjshex/foldercommon.h

index 8f9653c..ce015b3 100644 (file)
@@ -270,7 +270,7 @@ public:
         bool isEmpty1 = (rest1->mkid.cb == 0);
         bool isEmpty2 = (rest2->mkid.cb == 0);
 
-        if (isEmpty1 || isEmpty1)
+        if (isEmpty1 || isEmpty2)
             return MAKE_COMPARE_HRESULT(isEmpty2 - isEmpty1);
 
         LPCITEMIDLIST first1 = ILCloneFirst(pidl1);