From b42cd8cc82d106bfd3e5864e5eb3ef7a068ca9fd Mon Sep 17 00:00:00 2001 From: seoz Date: Thu, 28 Apr 2011 15:10:25 +0000 Subject: [PATCH] Elementary: Fixed formatting. Removed trailing white spaces. Fixed indentation. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59007 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/config.c | 2 +- src/bin/test.c | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/bin/config.c b/src/bin/config.c index ed22696..2feee32 100644 --- a/src/bin/config.c +++ b/src/bin/config.c @@ -2945,7 +2945,7 @@ elm_main(int argc, elm_app_info_set(elm_main, "elementary", "images/logo.png"); elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); - + for (i = 1; i < argc; i++) { if (!strcmp(argv[i], "-h")) diff --git a/src/bin/test.c b/src/bin/test.c index 5fa96cd..ef5b7ce 100644 --- a/src/bin/test.c +++ b/src/bin/test.c @@ -233,9 +233,9 @@ my_win_main(char *autorun) lb = elm_label_add(win); elm_label_label_set(lb, - "Please select a test from the list below
" - "by clicking the test button to show the
" - "test window."); + "Please select a test from the list below
" + "by clicking the test button to show the
" + "test window."); elm_frame_content_set(fr, lb); evas_object_show(lb); @@ -385,26 +385,26 @@ my_win_main(char *autorun) if (autorun) { EINA_LIST_FOREACH(tests, l, t) - if ((t->name) && (t->cb) && (!strcmp(t->name, autorun))) - t->cb(NULL, NULL, NULL); + if ((t->name) && (t->cb) && (!strcmp(t->name, autorun))) + t->cb(NULL, NULL, NULL); } if (tests) { - char last_letter = 0; - EINA_LIST_FREE(tests, t) - { - Elm_List_Item *it; - it = elm_list_item_append(li, t->name, NULL, NULL, t->cb, NULL); - if (last_letter != t->name[0]) - { - char letter[2] = {t->name[0], '\0'}; - elm_index_item_append(idx, letter, it); - last_letter = t->name[0]; - } - free(t); - } - elm_index_item_go(idx, 0); + char last_letter = 0; + EINA_LIST_FREE(tests, t) + { + Elm_List_Item *it; + it = elm_list_item_append(li, t->name, NULL, NULL, t->cb, NULL); + if (last_letter != t->name[0]) + { + char letter[2] = {t->name[0], '\0'}; + elm_index_item_append(idx, letter, it); + last_letter = t->name[0]; + } + free(t); + } + elm_index_item_go(idx, 0); } elm_list_go(li); @@ -427,9 +427,9 @@ elm_main(int argc, char **argv) elm_app_info_set(elm_main, "elementary", "images/logo.png"); elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); - + printf("my prefix: %s\n", elm_app_prefix_dir_get()); - + printf("elm test data in %s\n", elm_app_data_dir_get()); /* if called with a single argument try to autorun a test with * the same name as the given param -- 2.7.4