Improved: Switched to stricter code formatter (Uncrustify) for better consistency across all source files.

This commit is contained in:
jthedering committed 2015-11-23 21:17:34 +00:00
1 parent a1be4cc70f
commit 57e8158efd
202 files changed
+4595 -4284

No files matched your search

+5 -5
View File
@@ -30,19 +30,19 @@ vector<IFilter*> ChannelFilterFactory::createFilter(const wstring& configPath, w
{
ChannelFilter* filter = NULL;
if(command == L"Channel")
if (command == L"Channel")
{
wstring value = parameters + L" ";
vector<wstring> words;
wstring currentWord;
for(unsigned i=0; i<value.length(); i++)
for (unsigned i = 0; i < value.length(); i++)
{
wchar_t c = towupper(value[i]);
if(c == L' ')
if (c == L' ')
{
if(currentWord.length() > 0)
if (currentWord.length() > 0)
{
words.push_back(currentWord);
@@ -59,7 +59,7 @@ vector<IFilter*> ChannelFilterFactory::createFilter(const wstring& configPath, w
filter = new(mem) ChannelFilter(words);
}
if(filter == NULL)
if (filter == NULL)
return vector<IFilter*>(0);
return vector<IFilter*>(1, filter);
}