[vlc-commits] Win32: use Win32DebugOutputMsgW instead of ANSI version
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 24 16:19:09 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 24 16:18:43 2013 +0100| [66a5515e0cd1b7e8aa390ee961b3c5abcafd953e] | committer: Jean-Baptiste Kempf
Win32: use Win32DebugOutputMsgW instead of ANSI version
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66a5515e0cd1b7e8aa390ee961b3c5abcafd953e
---
src/misc/messages.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 91aa6a4..99dfd31 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -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);
}
More information about the vlc-commits
mailing list