/[rdesktop]/sourceforge.net/trunk/rdesktop/xclip.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xclip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 551 by astrand, Fri Dec 5 10:36:04 2003 UTC revision 707 by forsberg, Fri Jun 4 08:42:11 2004 UTC
# Line 310  ui_clip_handle_data(uint8 * data, uint32 Line 310  ui_clip_handle_data(uint8 * data, uint32
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 = strchr(data, '\0');                  firstnull = (uint8 *) strchr((char *) data, '\0');
314                  if (firstnull)                  if (firstnull)
315                  {                  {
316                          length = firstnull - data + 1;                          length = firstnull - data + 1;
# Line 380  xclip_init(void) Line 380  xclip_init(void)
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;

Legend:
Removed from v.551  
changed lines
  Added in v.707

  ViewVC Help
Powered by ViewVC 1.1.26