discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=660c7cb2e52263d782367d379143b138bebccc78

commit 660c7cb2e52263d782367d379143b138bebccc78
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 12 15:06:09 2015 -0500

    improve readability of E_FIRST_FRAME environment variable detection
    
    functionality remains the same, but this is more clear for readers
---
 src/bin/e_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index c7b6ea6..b4df9a8 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -352,10 +352,10 @@ main(int argc, char **argv)
    _e_main_shutdown_push(ecore_shutdown);
 
    e_first_frame = getenv("E_FIRST_FRAME");
-   if (e_first_frame && (!e_first_frame[0]))
-     e_first_frame = NULL;
-   else
+   if (e_first_frame && e_first_frame[0])
      e_first_frame_start_time = ecore_time_get();
+   else
+     e_first_frame = NULL;
 
    TS("EIO Init");
    if (!eio_init())

-- 


Reply via email to