src/stdlib/SDL_string.c
changeset 1903 f132024010be
parent 1901 f1828a500391
child 1916 c773b0c0ac89
equal deleted inserted replaced
1902:eb2891493b66 1903:f132024010be
   336 }
   336 }
   337 #endif
   337 #endif
   338 
   338 
   339 #ifndef HAVE_WCSLEN
   339 #ifndef HAVE_WCSLEN
   340 size_t
   340 size_t
   341 SDL_wcslen(const wchar_t *string)
   341 SDL_wcslen(const wchar_t * string)
   342 {
   342 {
   343     size_t len = 0;
   343     size_t len = 0;
   344     while (*string++) {
   344     while (*string++) {
   345         ++len;
   345         ++len;
   346     }
   346     }