Skip to content

Commit

Permalink
Fixed whitespace code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 29, 2017
1 parent 1c5f483 commit 29a047d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stdlib/SDL_string.c
Expand Up @@ -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);
Expand Down

0 comments on commit 29a047d

Please sign in to comment.