]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
README.md: various doc adjustments
[xonotic/darkplaces.git] / sys_sdl.c
index a876b38885f8a1bac4e4c2a9db3939140ef6a787..f96bc87eabfc7aa5dc15177c0e9f3b6f77477a39 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -42,7 +42,7 @@ char *Sys_SDL_GetClipboardData (void)
                size_t allocsize;
                allocsize = min(MAX_INPUTLINE, strlen(cliptext) + 1);
                data = (char *)Z_Malloc (allocsize);
-               strlcpy (data, cliptext, allocsize);
+               dp_strlcpy (data, cliptext, allocsize);
                SDL_free(cliptext);
        }