hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/expedite.git/commit/?id=6d76a78b239c5850a869d25aa48e8e23685a1b57

commit 6d76a78b239c5850a869d25aa48e8e23685a1b57
Author: ChunEon Park <[email protected]>
Date:   Mon Oct 6 22:15:23 2014 +0900

    print a message when it fails to create ecore evas.
---
 src/bin/main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 0f90ee7..77e192e 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1288,7 +1288,11 @@ main(int argc, char **argv)
                        resolutions[resolution_index].width,
                        resolutions[resolution_index].height,
                        NULL); // FIXME: Specify additional parameter for the 
engine on the command line
-   if (!ee) return -1;
+   if (!ee)
+     {
+        fprintf(stderr, "Failed to create Ecore_Evas. Please check engine name 
\"%s\"\n", engine);
+        return -1;
+     }
 
    choosen_engine = ecore_evas_engine_name_get(ee);
    ecore_evas_callback_delete_request_set(ee, _cb_delete);

-- 


Reply via email to