project_files/hwc/rtl/misc.c
changeset 11652 09ebdfe364d9
parent 10242 0ab0d7fa1c62
child 14250 a7320c65f484
equal deleted inserted replaced
11651:e5c101a6fb8d 11652:09ebdfe364d9
    76 
    76 
    77 astring fpcrtl_strappendA(astring s, char c)
    77 astring fpcrtl_strappendA(astring s, char c)
    78 {
    78 {
    79     if(s.len < MAX_ANSISTRING_LENGTH)
    79     if(s.len < MAX_ANSISTRING_LENGTH)
    80     {
    80     {
       
    81         ++s.len;
    81         s.s[s.len] = c;
    82         s.s[s.len] = c;
    82         ++s.len;
       
    83     }
    83     }
    84 
    84 
    85     return s;
    85     return s;
    86 }
    86 }
    87 
    87