From 92d37adde551c122d9b89d18c3ff060980c1ddd7 Mon Sep 17 00:00:00 2001 From: liyf Date: Mon, 15 Jun 2020 15:09:33 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HEZON_ITK/bs_sap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HEZON_ITK/bs_sap.cpp b/HEZON_ITK/bs_sap.cpp index f5900fa..b4ef9b7 100644 --- a/HEZON_ITK/bs_sap.cpp +++ b/HEZON_ITK/bs_sap.cpp @@ -203,7 +203,7 @@ void get_bom(System::Collections::Generic::List0?pid:id; int index = pid.find('-'); if (index != -1) - pid = pid.substr(index + 1); + pid = pid.substr(0,index); } for (int j = 0; j < line_cnt; j++) {