project_files/hwc/rtl/misc.c
changeset 10130 a9d509848390
parent 10129 cd2a64a1f4aa
child 10131 4b4a043111f4
equal deleted inserted replaced
10129:cd2a64a1f4aa 10130:a9d509848390
   203 char* fpcrtl__pcharA__vars(astring * s)
   203 char* fpcrtl__pcharA__vars(astring * s)
   204 {
   204 {
   205     if(s->len == MAX_ANSISTRING_LENGTH)
   205     if(s->len == MAX_ANSISTRING_LENGTH)
   206         --s->len;
   206         --s->len;
   207 
   207 
   208     s->s[s->len] = 0;
   208     s->s[s->len + 1] = 0;
   209     return &s->s[1];
   209     return &s->s[1];
   210 }
   210 }
   211 
   211 
   212 #ifdef EMSCRIPTEN
   212 #ifdef EMSCRIPTEN
   213 GLenum glewInit()
   213 GLenum glewInit()