libobs: Fix bug with a win8 log message

I unintentionally stored the windows version in a 16bit format rather
than an 8bit format.
This commit is contained in:
jp9000 2015-07-16 15:26:49 -07:00
parent d7d44a92ff
commit c53f4f2f45

View File

@ -217,7 +217,7 @@ void log_system_info(void)
{
osvi.dwOSVersionInfoSize = sizeof(osvi);
GetVersionExW(&osvi);
win_ver = (osvi.dwMajorVersion << 16) | osvi.dwMinorVersion;
win_ver = (osvi.dwMajorVersion << 8) | osvi.dwMinorVersion;
log_processor_info();
log_processor_cores();