[mutter] cogl: correcting the cogl trace log



commit d504086ebf20ee53c66213c4e06c99cc1a6432b6
Author: Uday Kiran Pichika <pichika uday kiran intel com>
Date:   Wed Oct 21 11:23:13 2020 +0530

    cogl: correcting the cogl trace log
    
    Remove the extra & symbol appearing in cogl debug log
    
    https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1517

 cogl/cogl/cogl-debug.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cogl/cogl/cogl-debug.h b/cogl/cogl/cogl-debug.h
index bcbce97917..82a572b9cf 100644
--- a/cogl/cogl/cogl-debug.h
+++ b/cogl/cogl/cogl-debug.h
@@ -94,14 +94,14 @@ unsigned long _cogl_debug_flags[COGL_DEBUG_N_LONGS];
 #ifdef __GNUC__
 #define COGL_NOTE(type,x,a...)                      G_STMT_START {            \
         if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_##type))) {            \
-          _cogl_profile_trace_message ("[" #type "] " G_STRLOC " & " x, ##a); \
+          _cogl_profile_trace_message ("[" #type "] " G_STRLOC ": " x, ##a); \
         }                                           } G_STMT_END
 
 #else
 #define COGL_NOTE(type,...)                         G_STMT_START {            \
         if (G_UNLIKELY (COGL_DEBUG_ENABLED (COGL_DEBUG_##type))) {            \
           char *_fmt = g_strdup_printf (__VA_ARGS__);                         \
-          _cogl_profile_trace_message ("[" #type "] " G_STRLOC " & %s", _fmt);\
+          _cogl_profile_trace_message ("[" #type "] " G_STRLOC ": %s", _fmt);\
           g_free (_fmt);                                                      \
         }                                           } G_STMT_END
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]