=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window-copy.c,v retrieving revision 1.116 retrieving revision 1.117 diff -c -r1.116 -r1.117 *** src/usr.bin/tmux/window-copy.c 2014/10/08 17:35:58 1.116 --- src/usr.bin/tmux/window-copy.c 2014/10/22 23:18:53 1.117 *************** *** 1,4 **** ! /* $OpenBSD: window-copy.c,v 1.116 2014/10/08 17:35:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: window-copy.c,v 1.117 2014/10/22 23:18:53 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1585,1591 **** s = tty_acs_get(NULL, ud.data[0]); if (s != NULL && strlen(s) <= sizeof ud.data) { ud.size = strlen(s); ! memcpy (ud.data, s, ud.size); } } --- 1585,1591 ---- s = tty_acs_get(NULL, ud.data[0]); if (s != NULL && strlen(s) <= sizeof ud.data) { ud.size = strlen(s); ! memcpy(ud.data, s, ud.size); } }