Formatting.

SVN revision: 29448
This commit is contained in:
Sebastian Dransfeld 2007-04-08 21:00:30 +00:00
parent a0a2e5c7fc
commit 39e228c73a
15 changed files with 132 additions and 130 deletions

View File

@ -1,6 +1,8 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "e.h"
EAPI int
e_color_class_init(void)
{

View File

@ -730,7 +730,7 @@ e_intl_locale_parts_get(const char *locale)
locale_char = locale[locale_idx];
/* we have finished scanning the locale string */
if(locale_char == 0)
if (!locale_char)
break;
/* scan this character based on the current start */
@ -759,14 +759,14 @@ e_intl_locale_parts_get(const char *locale)
territory[tmp_idx] = 0;
tmp_idx = 0;
}
else if(tmp_idx == 2 && locale_char == '@')
else if ((tmp_idx == 2) && (locale_char == '@'))
{
state += 2;
territory[tmp_idx] = 0;
codeset[0] = 0;
tmp_idx = 0;
}
else if(tmp_idx < 2 && isupper(locale_char))
else if ((tmp_idx < 2) && isupper(locale_char))
{
territory[tmp_idx++] = locale_char;
}