From: Geoffroy Couprie Date: Wed, 25 Feb 2009 13:10:43 +0000 (+0100) Subject: Win32: fix crash reporting version string X-Git-Tag: 1.0.0-pre1~435 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=d282bd2d015d247babd65da6df4370c29ebb4cab Win32: fix crash reporting version string --- diff --git a/bin/winvlc.c b/bin/winvlc.c index ca6445800c..0b046ec06c 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;