summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 03:24:03 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-11-13 03:24:03 +0900
commit63c67dcfa74f4eb152dbb588c4abfa5be6ab7dd0 (patch)
tree7598ef1c96d193aded5a5f751c6ecd8d55d00e3b /src/lib
parent896a287589e6e3c03bc32124cdea801378b7c9c3 (diff)
elm_dayselector.c: fixed formatting before working on it.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_dayselector.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/elm_dayselector.c b/src/lib/elm_dayselector.c
index ff9702b92..46e9e1e76 100644
--- a/src/lib/elm_dayselector.c
+++ b/src/lib/elm_dayselector.c
@@ -680,9 +680,9 @@ _weekdays_name_set(Eo *obj, void *_pd, va_list *list)
680 sd->weekdays_names_set = EINA_TRUE; 680 sd->weekdays_names_set = EINA_TRUE;
681 else 681 else
682 { 682 {
683 now = time(NULL); 683 now = time(NULL);
684 localtime_r(&now, &time_daysel); 684 localtime_r(&now, &time_daysel);
685 sd->weekdays_names_set = EINA_FALSE; 685 sd->weekdays_names_set = EINA_FALSE;
686 } 686 }
687 687
688 for (idx = 0; idx < ELM_DAYSELECTOR_MAX; idx++) 688 for (idx = 0; idx < ELM_DAYSELECTOR_MAX; idx++)
@@ -692,11 +692,11 @@ _weekdays_name_set(Eo *obj, void *_pd, va_list *list)
692 if (sd->weekdays_names_set) 692 if (sd->weekdays_names_set)
693 elm_object_text_set(VIEW(it), weekdays[idx]); 693 elm_object_text_set(VIEW(it), weekdays[idx]);
694 else 694 else
695 { 695 {
696 time_daysel.tm_wday = idx; 696 time_daysel.tm_wday = idx;
697 strftime(buf, sizeof(buf), "%a", &time_daysel); 697 strftime(buf, sizeof(buf), "%a", &time_daysel);
698 elm_object_text_set(VIEW(it), buf); 698 elm_object_text_set(VIEW(it), buf);
699 } 699 }
700 } 700 }
701} 701}
702 702