]> git.sesse.net Git - vlc/commitdiff
Win32: use Win32DebugOutputMsgW instead of ANSI version
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 24 Jan 2013 15:18:43 +0000 (16:18 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 24 Jan 2013 15:18:43 +0000 (16:18 +0100)
src/misc/messages.c

index 91aa6a40a5579257b865a053e52e8499bf8b6085..99dfd313f398724965e36ac6562839c4240ec360 100644 (file)
@@ -325,7 +325,7 @@ static void Win32DebugOutputMsg (void* d, int type, const msg_item_t *p_item,
             msg[msg_len] = '\n';
             msg[msg_len + 1] = '\0';
         }
-        OutputDebugStringA(msg);
+        OutputDebugStringW(ToWide(msg));
     }
     free(msg);
 }