seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=15295a5ee4630dba9ccd900e563adfb44fdd0d23

commit 15295a5ee4630dba9ccd900e563adfb44fdd0d23
Author: Daniel Juyung Seo <[email protected]>
Date:   Fri Nov 15 21:53:39 2013 +0900

    elm_main.c: use a direct variable check instead of unnecessary additional 
function call like other lines of code.
---
 src/lib/elm_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index afcfc1e..3614c46 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -643,7 +643,7 @@ elm_quicklaunch_init(int    argc,
                    EINA_LOG_STATE_STOP,
                    EINA_LOG_STATE_INIT);
 
-   if (elm_quicklaunch_mode_get())
+   if (quicklaunch_on)
      _elm_init_count++;
    return _elm_ql_init_count;
 }

-- 


Reply via email to