tiny fix for gcc 5.5.0 & glx
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5345 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5b4756f3d9
commit
fea0ab8014
1 changed files with 1 additions and 1 deletions
|
@ -3952,7 +3952,7 @@ static qboolean X11_Clipboard_Notify(XSelectionEvent *xselection)
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void Sys_SaveClipboard(clipboardtype_t clipboardtype, char *text)
|
void Sys_SaveClipboard(clipboardtype_t clipboardtype, const char *text)
|
||||||
{
|
{
|
||||||
free(clipboard_buffer[clipboardtype]);
|
free(clipboard_buffer[clipboardtype]);
|
||||||
clipboard_buffer[clipboardtype] = strdup(text);
|
clipboard_buffer[clipboardtype] = strdup(text);
|
||||||
|
|
Loading…
Reference in a new issue