--- sourceforge.net/trunk/rdesktop/xclip.c 2004/02/07 17:32:21 602 +++ sourceforge.net/trunk/rdesktop/xclip.c 2004/06/04 08:42:11 707 @@ -310,7 +310,7 @@ crlf2lf(data, &length); /* Only send data up to null byte, if any */ - firstnull = (uint8 *)strchr((char*)data, '\0'); + firstnull = (uint8 *) strchr((char *) data, '\0'); if (firstnull) { length = firstnull - data + 1; @@ -380,7 +380,7 @@ incr_atom = XInternAtom(g_display, "INCR", False); targets[0] = targets_atom; targets[1] = XInternAtom(g_display, "TEXT", False); - targets[2] = XInternAtom(g_display, "UTF8_STRING", False); + targets[2] = XInternAtom(g_display, "STRING", False); targets[3] = XInternAtom(g_display, "text/unicode", False); targets[4] = XInternAtom(g_display, "TIMESTAMP", False); targets[5] = XA_STRING;