From 5315d1a36b917ce825ab0703ad50504669c90fc4 Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Tue, 31 Jan 2023 16:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B1=BB=E5=9E=8B=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=97=B6=E5=BC=95=E7=94=A8=E5=8F=82=E6=95=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgsane/sane_hg_mdw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hgsane/sane_hg_mdw.cpp b/hgsane/sane_hg_mdw.cpp index 9163b50..df4ec5a 100644 --- a/hgsane/sane_hg_mdw.cpp +++ b/hgsane/sane_hg_mdw.cpp @@ -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;