提交 c53f4f2f 编写于 作者: J jp9000

libobs: Fix bug with a win8 log message

I unintentionally stored the windows version in a 16bit format rather
than an 8bit format.
上级 d7d44a92
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册