changeset 10137 | a4537aab4117 |
parent 10015 | 4feced261c68 |
child 10564 | 0cb20aa8877a |
--- a/project_files/hwc/rtl/sysutils.c Thu Feb 13 14:12:04 2014 -0500 +++ b/project_files/hwc/rtl/sysutils.c Thu Feb 13 23:38:16 2014 +0400 @@ -163,16 +163,5 @@ string255 fpcrtl_strPas(PChar p) { - string255 s; - int l = strlen(p); - - if(l > 255){ - printf("strPas: source string length > 255\n"); - assert(0); - } - - s.len = l; - strcpy(s.str, p); - - return s; + return fpcrtl_pchar2str(p); }