From 9d1ddc1ac4fd96e57e2c039d61f88c6aaa692885 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Sun, 20 Sep 2020 02:40:21 +0800 Subject: [PATCH] use hgl_cpy instead hgl_typecpy --- inc/hgl/type/StringList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/hgl/type/StringList.h b/inc/hgl/type/StringList.h index 088b85b..9f5be08 100644 --- a/inc/hgl/type/StringList.h +++ b/inc/hgl/type/StringList.h @@ -604,9 +604,9 @@ namespace hgl sp=sl.GetDataList(); for(int i=0;ic_str(),(*sp)->Length()); + hgl_cpy(tp,(*sp)->c_str(),(*sp)->Length()); tp+=(*sp)->Length(); - hgl_typecpy(tp,end_line.c_str(),end_line.Length()); + hgl_cpy(tp,end_line.c_str(),end_line.Length()); tp+=end_line.Length(); ++sp;