/[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 914 by stargo, Mon Jun 27 21:57:04 2005 UTC revision 940 by stargo, Sat Jul 30 08:39:06 2005 UTC
# Line 321  xclip_handle_PropertyNotify(XPropertyEve Line 321  xclip_handle_PropertyNotify(XPropertyEve
321                  {                  {
322                          uint8 *translated_data;                          uint8 *translated_data;
323                          uint32 length = nitems;                          uint32 length = nitems;
324                            uint8 *tmp;
325    
326                          DEBUG_CLIPBOARD(("Translating linebreaks before sending data\n"));                          DEBUG_CLIPBOARD(("Translating linebreaks before sending data\n"));
327                          translated_data = lf2crlf(data, &length);                          translated_data = lf2crlf(data, &length);
328    
329                          uint8 *tmp = xmalloc(length + g_clip_buflen);                          tmp = xmalloc(length + g_clip_buflen);
330                          strncpy((char*)tmp, (char*)g_clip_buffer, g_clip_buflen);                          strncpy((char*)tmp, (char*)g_clip_buffer, g_clip_buflen);
331                          xfree(g_clip_buffer);                          xfree(g_clip_buffer);
332    

Legend:
Removed from v.914  
changed lines
  Added in v.940

  ViewVC Help
Powered by ViewVC 1.1.26