From 5e686292c537275c8ea1399f311c082d905e8a63 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Jun 2012 17:26:45 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/langpack/langpack.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/langpack') 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] == '#' ) -- cgit v1.2.3