diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-29 14:19:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-29 14:19:12 +0000 |
commit | c1840425166576b1cf187076a9344a78a20375b6 (patch) | |
tree | 7c7e1d66219c7b2ed6b57a397ac67b3541aa127e /plugins/TabSRMM/include/utils.h | |
parent | d80ee102fba0f99ad2ab0e0e734267f76b3b639e (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@686 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/include/utils.h')
-rw-r--r-- | plugins/TabSRMM/include/utils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/include/utils.h b/plugins/TabSRMM/include/utils.h index fd101c0aca..1d66a0c650 100644 --- a/plugins/TabSRMM/include/utils.h +++ b/plugins/TabSRMM/include/utils.h @@ -120,7 +120,7 @@ public: HGLOBAL hData;
if (!OpenClipboard(hwndOwner) || _t == 0)
- return(0);
+ return 0;
std::basic_string<T> *s = new std::basic_string<T>(_t);
size_t _s = sizeof(T);
@@ -144,7 +144,7 @@ public: *pppFiles = (T**)mir_realloc(*pppFiles, (++*totalCount + 1) * sizeof(T*));
(*pppFiles)[*totalCount] = NULL;
- if(_s == 1)
+ if (_s == 1)
(*pppFiles)[*totalCount-1] = reinterpret_cast<T *>(mir_t2a(szFilename));
else
(*pppFiles)[*totalCount-1] = reinterpret_cast<T *>(mir_tstrdup(szFilename));
@@ -184,8 +184,8 @@ public: while(s < maxlen && *(src++))
s++;
- if(s >= maxlen && *src != 0)
- return(0);
+ if (s >= maxlen && *src != 0)
+ return 0;
else
return(s);
}
|