310 |
crlf2lf(data, &length); |
crlf2lf(data, &length); |
311 |
|
|
312 |
/* Only send data up to null byte, if any */ |
/* Only send data up to null byte, if any */ |
313 |
firstnull = (uint8 *)strchr((char*)data, '\0'); |
firstnull = (uint8 *) strchr((char *) data, '\0'); |
314 |
if (firstnull) |
if (firstnull) |
315 |
{ |
{ |
316 |
length = firstnull - data + 1; |
length = firstnull - data + 1; |
380 |
incr_atom = XInternAtom(g_display, "INCR", False); |
incr_atom = XInternAtom(g_display, "INCR", False); |
381 |
targets[0] = targets_atom; |
targets[0] = targets_atom; |
382 |
targets[1] = XInternAtom(g_display, "TEXT", False); |
targets[1] = XInternAtom(g_display, "TEXT", False); |
383 |
targets[2] = XInternAtom(g_display, "UTF8_STRING", False); |
targets[2] = XInternAtom(g_display, "STRING", False); |
384 |
targets[3] = XInternAtom(g_display, "text/unicode", False); |
targets[3] = XInternAtom(g_display, "text/unicode", False); |
385 |
targets[4] = XInternAtom(g_display, "TIMESTAMP", False); |
targets[4] = XInternAtom(g_display, "TIMESTAMP", False); |
386 |
targets[5] = XA_STRING; |
targets[5] = XA_STRING; |