Squeezed some warnings.

This commit is contained in:
Sanel Zukan
2009-11-23 15:09:06 +00:00
parent a324dc2eb0
commit 60f5b321d4
5 changed files with 20 additions and 16 deletions

View File

@@ -333,8 +333,8 @@ static SaverPrefs *guess_config(void) {
break;
/* skip '.' and '..' */
if(entry->d_name[0] == '.' &&
(entry->d_name[1] == '\0' || entry->d_name[1] == '.' && entry->d_name[2] == '\0'))
if((entry->d_name[0] == '.' && entry->d_name[1] == '\0') ||
(entry->d_name[1] == '.' && entry->d_name[2] == '\0'))
{
continue;
}