diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-13 17:26:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-13 17:26:45 +0000 |
commit | 5e686292c537275c8ea1399f311c082d905e8a63 (patch) | |
tree | 88a4f3921ff70323775f3329c8820a0fe947d74f /src/modules/fonts/FontOptions.cpp | |
parent | 90c154b4be566ec4a804217d0f1e50fb1e259b72 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/fonts/FontOptions.cpp')
-rw-r--r-- | src/modules/fonts/FontOptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/fonts/FontOptions.cpp b/src/modules/fonts/FontOptions.cpp index b38936f8c6..961c598c3b 100644 --- a/src/modules/fonts/FontOptions.cpp +++ b/src/modules/fonts/FontOptions.cpp @@ -419,7 +419,7 @@ static void sttSaveCollapseState( HWND hwndTree ) TVITEM tvi;
hti = TreeView_GetRoot( hwndTree );
- while( hti != NULL ) {
+ while ( hti != NULL ) {
HTREEITEM ht;
TreeItem *treeItem;
@@ -439,7 +439,7 @@ static void sttSaveCollapseState( HWND hwndTree ) ht = TreeView_GetChild( hwndTree, hti );
if ( ht == NULL ) {
ht = TreeView_GetNextSibling( hwndTree, hti );
- while( ht == NULL ) {
+ while ( ht == NULL ) {
hti = TreeView_GetParent( hwndTree, hti );
if ( hti == NULL ) break;
ht = TreeView_GetNextSibling( hwndTree, hti );
@@ -505,7 +505,7 @@ static INT_PTR CALLBACK ChooseEffectDlgProc( HWND hwndDlg, UINT uMsg, WPARAM wPa int cnt=SendDlgItemMessage(hwndDlg, IDC_EFFECT_COMBO, CB_GETCOUNT, 0, 0 );
for ( i = 0; i < cnt; i++ ) {
- if (SendDlgItemMessage(hwndDlg,IDC_EFFECT_COMBO,CB_GETITEMDATA,i,0)==pEffect->effectIndex ) {
+ if (SendDlgItemMessage(hwndDlg,IDC_EFFECT_COMBO,CB_GETITEMDATA,i,0) == pEffect->effectIndex ) {
SendDlgItemMessage(hwndDlg,IDC_EFFECT_COMBO,CB_SETCURSEL, i, 0 );
break;
} } }
|