Browse Source

#IQRV #comment [Module] ThermPrint 转换缺陷修复2

gifur 4 years ago
parent
commit
de538f11c9
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Module/mod_ThermalPrint/ThermalPrintFSM.cpp

+ 1 - 3
Module/mod_ThermalPrint/ThermalPrintFSM.cpp

@@ -359,9 +359,7 @@ PrintCommand* CThermalPrintFSM::ParseCommand( scew_element *elem )
 					pcd->strCommand = gbkstr;
 					delete[] gbkstr;
 #else
-					char* gbkstr = decodeStr.GetData();//国产机用的UTF8编码打印
-					//Dbg("base64解码出来的内容:%s",gbkstr);
-					pcd->strCommand = gbkstr;
+					pcd->strCommand = decodeStr;
 #endif //  RVC_OS_WIN	
 				}