mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-14 21:09:05 +08:00
Merge remote-tracking branch 'notepad3_orig_rizone/master' into Dev_LongPath
This commit is contained in:
commit
3bf39da596
@ -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);
|
||||
|
||||
@ -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; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user