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:
parent
d7d44a92ff
commit
c53f4f2f45
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user