修复类型判断时引用参数错误
This commit is contained in:
parent
bb2706781f
commit
5315d1a36b
|
@ -2052,7 +2052,7 @@ bool hg_sane_middleware::refresh_current_value(LPDEVINST dev, const char* name,
|
|||
{
|
||||
std::string old(it->val);
|
||||
jsn->get_value_as_string("cur", it->val, it->type == "int");
|
||||
if (it->val == "string")
|
||||
if (it->type == "string")
|
||||
local_utility::trans_language_if_was_word_id(it->val);
|
||||
|
||||
return old != it->val;
|
||||
|
|
Loading…
Reference in New Issue