jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=904b1c5249f8deaa6846f740ec532eb8dafc03e8

commit 904b1c5249f8deaa6846f740ec532eb8dafc03e8
Author: Jean-Philippe Andre <[email protected]>
Date:   Tue Oct 21 12:08:42 2014 +0900

    Evas: Fix some debug output formatting
    
    Remove trailing newline.
---
 src/modules/evas/engines/gl_x11/evas_x_main.c           | 9 ++++++---
 src/modules/evas/engines/software_generic/evas_engine.c | 8 ++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c 
b/src/modules/evas/engines/gl_x11/evas_x_main.c
index 8177460..bcbb449 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -339,7 +339,9 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
              if (!glXMakeContextCurrent(gw->disp, gw->glxwin, gw->glxwin,
                                         gw->context))
                {
-                  ERR("glXMakeContextCurrent(%p, %p, %p, %p)\n", (void 
*)gw->disp, (void *)gw->glxwin, (void *)gw->glxwin, (void *)gw->context);
+                  ERR("glXMakeContextCurrent(%p, %p, %p, %p) failed",
+                      (void *)gw->disp, (void *)gw->glxwin, (void *)gw->glxwin,
+                      (void *)gw->context);
                   eng_window_free(gw);
                   return NULL;
                }
@@ -348,7 +350,8 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
           {
              if (!glXMakeCurrent(gw->disp, gw->win, gw->context))
                {
-                  ERR("glXMakeCurrent(%p, 0x%x, %p) failed\n", (void 
*)gw->disp, (unsigned int)gw->win, (void *)gw->context);
+                  ERR("glXMakeCurrent(%p, 0x%x, %p) failed", (void *)gw->disp,
+                      (unsigned int)gw->win, (void *)gw->context);
                   eng_window_free(gw);
                   return NULL;
                }
@@ -471,7 +474,7 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
    gw->gl_context = glsym_evas_gl_common_context_new();
    if (!gw->gl_context)
      {
-        ERR("Unable to get a new context.\n");
+        ERR("Unable to get a new context.");
         eng_window_free(gw);
         return NULL;
      }
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c 
b/src/modules/evas/engines/software_generic/evas_engine.c
index 359ff53..f6b3420 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -3132,7 +3132,7 @@ static Evas_Func func =
 static void
 sym_missing(void)
 {
-   ERR("GL symbols missing!\n");
+   ERR("GL symbols missing!");
 }
 
 static int
@@ -3144,7 +3144,7 @@ glue_sym_init(void)
    if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \
    if (!dst)  \
      { \
-        ERR("Symbol not found %s\n", sym); \
+        ERR("Symbol not found: %s", sym); \
         return 0; \
      }
 #define FALLBAK(dst, typ) if (!dst) dst = (typeof(dst))sym_missing;
@@ -3178,7 +3178,7 @@ gl_sym_init(void)
    //------------------------------------------------//
 #define FINDSYM(dst, sym, typ) \
    if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \
-   if (!dst) DBG("Symbol not found %s\n", sym);
+   if (!dst) DBG("Symbol not found: %s", sym);
 #define FALLBAK(dst, typ) if (!dst) dst = (typeof(dst))sym_missing;
 
    //------------------------------------------------------//
@@ -4096,7 +4096,7 @@ gl_lib_init(void)
 static void
 init_gl(void)
 {
-   DBG("Initializing Software OpenGL APIs...\n");
+   DBG("Initializing Software OpenGL APIs...");
 
    if (!gl_lib_init())
       DBG("Unable to support EvasGL in this engine module. Install OSMesa to 
get it running");

-- 


Reply via email to