Skip to content
Permalink
Browse files

Fixed whitespace code style.

  • Loading branch information
icculus committed May 29, 2017
1 parent 1c5f483 commit 29a047df39b532ee7735c7127d218967304d3f8f
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/stdlib/SDL_string.c
@@ -477,7 +477,8 @@ SDL_strlcpy(SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen)
#endif /* HAVE_STRLCPY */
}

size_t SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes)
size_t
SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes)
{
size_t src_bytes = SDL_strlen(src);
size_t bytes = SDL_min(src_bytes, dst_bytes - 1);

0 comments on commit 29a047d

Please sign in to comment.