Skip to content

Commit 152bc24

Browse files
committed
- adapt whitespaces to tab
1 parent 223aeb3 commit 152bc24

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

src/Windows/Treeview.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
/*
2-
NppFTP: FTP/SFTP functionality for Notepad++
3-
Copyright (C) 2010 Harry (harrybharry@users.sourceforge.net)
2+
NppFTP: FTP/SFTP functionality for Notepad++
3+
Copyright (C) 2010 Harry (harrybharry@users.sourceforge.net)
44
5-
This program is free software: you can redistribute it and/or modify
6-
it under the terms of the GNU General Public License as published by
7-
the Free Software Foundation, either version 3 of the License, or
8-
(at your option) any later version.
5+
This program is free software: you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation, either version 3 of the License, or
8+
(at your option) any later version.
99
10-
This program is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
GNU General Public License for more details.
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
1414
15-
You should have received a copy of the GNU General Public License
16-
along with this program. If not, see <http://www.gnu.org/licenses/>.
15+
You should have received a copy of the GNU General Public License
16+
along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
*/
1818

1919
#include "StdInc.h"
@@ -23,12 +23,12 @@
2323

2424
/* Tree view extended styles */
2525
#if 1
26-
#define TVS_EX_DOUBLEBUFFER 0x00000004L
27-
#define TVS_EX_AUTOHSCROLL 0x00000020L
28-
#define TVS_EX_FADEINOUTEXPANDOS 0x00000040L
26+
#define TVS_EX_DOUBLEBUFFER 0x00000004L
27+
#define TVS_EX_AUTOHSCROLL 0x00000020L
28+
#define TVS_EX_FADEINOUTEXPANDOS 0x00000040L
2929
#endif
3030
#ifndef TVM_SETEXTENDEDSTYLE
31-
#define TVM_SETEXTENDEDSTYLE (TV_FIRST + 44)
31+
#define TVM_SETEXTENDEDSTYLE (TV_FIRST + 44)
3232
#endif
3333

3434

@@ -46,7 +46,7 @@ Treeview::Treeview() :
4646
icx.dwICC = ICC_TREEVIEW_CLASSES;
4747
InitCommonControlsEx(&icx);
4848

49-
curSelectedItem = NULL;
49+
curSelectedItem = NULL;
5050
}
5151

5252
Treeview::~Treeview() {
@@ -363,8 +363,8 @@ int Treeview::CollapseDirectory(FileObject* dir)
363363
tvi.hItem = hti;
364364
tvi.mask = TVIF_STATE;
365365
tvi.stateMask = TVIS_EXPANDED;
366-
BOOL res = TreeView_GetItem(m_hwnd, &tvi);
367-
if (res == FALSE)
366+
BOOL res = TreeView_GetItem(m_hwnd, &tvi);
367+
if (res == FALSE)
368368
return -2;
369369

370370
bool expanded = (tvi.state & TVIS_EXPANDED);
@@ -380,7 +380,7 @@ int Treeview::ExpandDirectory(FileObject * dir, FileObject* selectSubItem) {
380380
if (!dat)
381381
return 0;
382382

383-
383+
384384
HTREEITEM hti = (HTREEITEM)dat;
385385
RECT rc = {0,0,0,0};
386386
RECT *rcPtr = &rc;
@@ -426,7 +426,7 @@ int Treeview::EnsureObjectVisible(FileObject * fo) {
426426

427427
TreeView_EnsureVisible(m_hwnd, hti);
428428

429-
return 0;
429+
return 0;
430430
}
431431

432432
int Treeview::ClearAll() {

0 commit comments

Comments
 (0)