[vlc-devel] commit: Win32: fix crash reporting version string (Geoffroy Couprie )

git version control git at videolan.org
Wed Feb 25 14:14:49 CET 2009


vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Wed Feb 25 14:10:43 2009 +0100| [d282bd2d015d247babd65da6df4370c29ebb4cab] | committer: Geoffroy Couprie 

Win32: fix crash reporting version string

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

 bin/winvlc.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/winvlc.c b/bin/winvlc.c
index ca64458..0b046ec 100644
--- a/bin/winvlc.c
+++ b/bin/winvlc.c
@@ -241,12 +241,11 @@ LONG WINAPI vlc_exception_filter(struct _EXCEPTION_POINTERS *lpExceptionInfo)
     osvi.dwOSVersionInfoSize = sizeof( OSVERSIONINFO );
     GetVersionEx( &osvi );
 
-    fwprintf( fd, L"[Version]\n0S=%d.%d.%d.%d.%s\nVLC=%s", osvi.dwMajorVersion,
+    fwprintf( fd, L"[Version]\nOS=%d.%d.%d.%d.%s\nVLC=" VERSION_MESSAGE, osvi.dwMajorVersion,
                                                            osvi.dwMinorVersion,
                                                            osvi.dwBuildNumber,
                                                            osvi.dwPlatformId,
-                                                           osvi.szCSDVersion,
-                                                           VERSION_MESSAGE);
+                                                           osvi.szCSDVersion);
 
     const CONTEXT *const pContext = (const CONTEXT *)lpExceptionInfo->ContextRecord;
     const EXCEPTION_RECORD *const pException = (const EXCEPTION_RECORD *)lpExceptionInfo->ExceptionRecord;




More information about the vlc-devel mailing list