summaryrefslogtreecommitdiff
path: root/src/modules/langpack
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-13 17:26:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-13 17:26:45 +0000
commit5e686292c537275c8ea1399f311c082d905e8a63 (patch)
tree88a4f3921ff70323775f3329c8820a0fe947d74f /src/modules/langpack
parent90c154b4be566ec4a804217d0f1e50fb1e259b72 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/langpack')
-rw-r--r--src/modules/langpack/langpack.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/langpack/langpack.cpp b/src/modules/langpack/langpack.cpp
index bffe6898f7..5013361393 100644
--- a/src/modules/langpack/langpack.cpp
+++ b/src/modules/langpack/langpack.cpp
@@ -71,7 +71,7 @@ static int IsEmpty(char *str)
while (str[i])
{
- if (str[i]!=' '&&str[i]!='\r'&&str[i]!='\n')
+ if (str[i] != ' '&&str[i] != '\r'&&str[i] != '\n')
return 0;
i++;
}
@@ -110,7 +110,7 @@ unsigned int __fastcall hash(const void * key, unsigned int len)
// Mix 4 bytes at a time into the hash
const unsigned char * data = (const unsigned char *)key;
- while(len >= 4)
+ while (len >= 4)
{
unsigned int k = *(unsigned int *)data;
@@ -361,7 +361,7 @@ static int LoadLangPack(const TCHAR *szLangPack)
break;
lrtrim( line );
- if ( IsEmpty( line ) || line[0] == ';' || line[0]==0)
+ if ( IsEmpty( line ) || line[0] == ';' || line[0] == 0)
continue;
if ( line[0] == '[' || line[0] == '#' )