Mercurial > geeqie.yaz
diff src/main.c @ 995:6ca2c5fd7b13
Whitespaces cleanup.
author | zas_ |
---|---|
date | Mon, 25 Aug 2008 22:20:45 +0000 |
parents | c414002a1f27 |
children | 4fe8f9656107 |
line wrap: on
line diff
--- a/src/main.c Mon Aug 25 18:13:33 2008 +0000 +++ b/src/main.c Mon Aug 25 22:20:45 2008 +0000 @@ -78,7 +78,7 @@ if (!case_sensitive) { - s1_t = g_utf8_casefold(s1, -1); + s1_t = g_utf8_casefold(s1, -1); s2_t = g_utf8_casefold(s2, -1); } @@ -113,17 +113,17 @@ return g_strdup(filename); notilde = filename + 1; - slash = strchr(notilde, G_DIR_SEPARATOR); + slash = strchr(notilde, G_DIR_SEPARATOR); if (slash == notilde || !*notilde) { home = g_get_home_dir(); if (!home) return g_strdup(filename); - } - else + } + else { gchar *username; - struct passwd *passwd; + struct passwd *passwd; if (slash) username = g_strndup(notilde, slash - notilde); @@ -680,7 +680,7 @@ bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); #endif - + /* setup random seed for random slideshow */ srand(time(NULL));