mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 06:14:47 +02:00
Minor code enhancement
This commit is contained in:
parent
c15ff9dc13
commit
a43e2db58f
@ -1828,8 +1828,8 @@ INT_PTR CALLBACK TabSettings::run_dlgProc(UINT Message, WPARAM wParam, LPARAM/*
|
|||||||
POINT p;
|
POINT p;
|
||||||
::GetCursorPos(&p);
|
::GetCursorPos(&p);
|
||||||
int size = tabSizeDlg.doDialog(p);
|
int size = tabSizeDlg.doDialog(p);
|
||||||
if (size == -1) return FALSE;
|
if (size <= 0) return FALSE;
|
||||||
if (size == 0) return FALSE;
|
|
||||||
//Tab size 0 removal
|
//Tab size 0 removal
|
||||||
|
|
||||||
::SetDlgItemInt(_hSelf, IDC_TABSIZEVAL_STATIC, size, FALSE);
|
::SetDlgItemInt(_hSelf, IDC_TABSIZEVAL_STATIC, size, FALSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user