[vlc-commits] Win32 debug: reindent

Jean-Baptiste Kempf git at videolan.org
Thu Oct 15 23:18:58 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Oct 15 23:17:34 2015 +0200| [6446c6262229512cbbdb2041b7e3e710a56abbfc] | committer: Jean-Baptiste Kempf

Win32 debug: reindent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6446c6262229512cbbdb2041b7e3e710a56abbfc
---

 src/misc/messages.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/misc/messages.c b/src/misc/messages.c
index 8cbb7f1..84a5ea1 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -178,7 +178,7 @@ static void Win32DebugOutputMsg (void* d, int type, const vlc_log_t *p_item,
     int msg_len = vsnprintf(NULL, 0, format, dol2);
     va_end (dol2);
 
-    if(msg_len <= 0)
+    if (msg_len <= 0)
         return;
 
     char *msg = malloc(msg_len + 1 + 1);
@@ -187,12 +187,12 @@ static void Win32DebugOutputMsg (void* d, int type, const vlc_log_t *p_item,
 
     msg_len = vsnprintf(msg, msg_len+1, format, dol);
     if (msg_len > 0){
-        if(msg[msg_len-1] != '\n'){
+        if (msg[msg_len-1] != '\n') {
             msg[msg_len] = '\n';
             msg[msg_len + 1] = '\0';
         }
         char* psz_msg = NULL;
-        if(asprintf(&psz_msg, "%s %s%s: %s", p_item->psz_module,
+        if (asprintf(&psz_msg, "%s %s%s: %s", p_item->psz_module,
                     p_item->psz_object_type, msg_type[type], msg) > 0) {
             wchar_t* wmsg = ToWide(psz_msg);
             OutputDebugStringW(wmsg);



More information about the vlc-commits mailing list