summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-30 01:27:09 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-30 01:27:11 +0900
commit1222ab980fef76007941b8818fe9c52a9c19acfe (patch)
treeb006f1f720b03959e5fb6eadc79b44ab021a72b3
parent56f6d11070727a93c8eb2de2a861227abc0dbfb8 (diff)
main: use eina_str_has_extension instead of eina_str_has_suffix.
it uses strcasecmp instead of strcmp.
-rw-r--r--src/bin/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 1bc4ac2..953bd52 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -92,7 +92,7 @@ elm_main(int argc, char **argv)
92 if (theme) 92 if (theme)
93 { 93 {
94 char path[PATH_MAX]; 94 char path[PATH_MAX];
95 if (eina_str_has_suffix(theme, ".edj")) 95 if (eina_str_has_extension(theme, ".edj"))
96 eina_strlcpy(path, theme, sizeof(path)); 96 eina_strlcpy(path, theme, sizeof(path));
97 else 97 else
98 snprintf(path, sizeof(path), "%s.edj", theme); 98 snprintf(path, sizeof(path), "%s.edj", theme);