Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Commit

Permalink
Fix check for mobo vendor name
Browse files Browse the repository at this point in the history
  • Loading branch information
ixjf committed May 5, 2019
1 parent 64e9f5f commit 8b24634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSIRGB.DLL/logic/Lighting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ namespace logic {
{
auto info = wmi_query(L"Win32_BaseBoard", { L"Manufacturer", L"Product", L"Version" });

if (info[L"Manufacturer"] != L"Micro-Star International Co., Ltd.") {
if (info[L"Manufacturer"].find(L"Micro-Star International Co., Ltd") == std::wstring::npos) {
return MbCompatError::UnsupportedVendor;
}

Expand Down

0 comments on commit 8b24634

Please sign in to comment.