Merge remote-tracking branch 'notepad3_orig_rizone/master' into Dev_LongPath

This commit is contained in:
METANEOCORTEX\Kotti 2021-10-21 16:28:52 +02:00
commit 3bf39da596
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ LRESULT CSearchDlg::DlgFunc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
}
wchar_t buf[MAX_PATH] = {0};
if (m_bSizeC && (m_lSize != static_cast<uint64_t>(-1)))
if (m_bSizeC && (m_lSize != static_cast<uint64_t>(0)))
{
swprintf_s(buf, _countof(buf), L"%I64u", m_lSize);
SetDlgItemText(hwndDlg, IDC_SIZEEDIT, buf);

View File

@ -111,7 +111,7 @@ public:
inline void SetWholeWords(bool bSet) { m_bWholeWordsC = true; m_bWholeWords = bSet; }
inline void SetUTF8(bool bSet) { m_bUTF8C = true; m_bUTF8 = bSet; m_bForceBinary = false; }
inline void SetBinary(bool bSet) { m_bUTF8C = true; m_bForceBinary = bSet; m_bUTF8 = false; }
inline void SetSize(uint64_t size, int cmp) { m_bSizeC = true; m_lSize = size; m_sizeCmp = cmp; m_bAllSize = (size == (uint64_t)-1); }
inline void SetSize(uint64_t size, int cmp) { m_bSizeC = true; m_lSize = size; m_sizeCmp = cmp; m_bAllSize = (size == (uint64_t)0); }
inline void SetIncludeSystem(bool bSet) { m_bIncludeSystemC = true; m_bIncludeSystem = bSet; }
inline void SetIncludeHidden(bool bSet) { m_bIncludeHiddenC = true; m_bIncludeHidden = bSet; }
inline void SetIncludeSubfolders(bool bSet) { m_bIncludeSubfoldersC = true; m_bIncludeSubfolders = bSet; }