netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=f6b535a6d9664ca934a4e6d1cc2e79f42f9207b5

commit f6b535a6d9664ca934a4e6d1cc2e79f42f9207b5
Author: Alastair Poole <nets...@gmail.com>
Date:   Sun Sep 6 19:18:27 2020 +0100

    main: ffs.
    
    not a good idea
---
 src/bin/main.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 03f5c03..974779f 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -138,6 +138,7 @@ main(int argc, char **argv)
         ecore_main_loop_begin();
         restart = ui->restart;
         evisum_ui_del(ui);
+        if (restart) ecore_exe_run("evisum", NULL);
      }
 
    elm_shutdown();
@@ -145,9 +146,6 @@ main(int argc, char **argv)
    ecore_shutdown();
    eina_shutdown();
 
-   if (restart)
-     system("evisum");
-
    return 0;
 }
 

-- 


Reply via email to