summaryrefslogtreecommitdiff
path: root/src/bin/ui.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-10-22 15:49:25 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-10-22 15:49:25 +0900
commit0a40a870395f6d181767dabadce753224376f89a (patch)
treef3ed5ed46fde688ba24e516746bdf5fb476ac3f2 /src/bin/ui.c
parent0774f2ceeb51ebe1f7f723f48e13adb94009aea7 (diff)
Fix support of --count from command line
expedite would never exit after N loops
Diffstat (limited to 'src/bin/ui.c')
-rw-r--r--src/bin/ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 243ab11..147075d 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -504,6 +504,7 @@ ui_num(int n)
504 if (!mi->test) 504 if (!mi->test)
505 return; 505 return;
506 menu_sel = n; 506 menu_sel = n;
507 if (one_test) test_item = menu_sel;
507 _ui_select(); 508 _ui_select();
508 } 509 }
509} 510}
@@ -714,7 +715,7 @@ ui_fps(double fps)
714 715
715 test_item++; 716 test_item++;
716 mi = eina_list_nth(menu, test_item); 717 mi = eina_list_nth(menu, test_item);
717 if (!mi->test) 718 if (one_test || !mi->test)
718 { 719 {
719 char datestr[1024]; 720 char datestr[1024];
720 struct tm *tim; 721 struct tm *tim;