Preserve more attributes of text copied as RTF. Thanks to Stephen Balousek.
[u/mdw/putty] / unix / gtkwin.c
index 584ff1e..4784501 100644 (file)
@@ -1491,7 +1491,7 @@ char * retrieve_cutbuffer(int * nbytes)
     return ptr;
 }
 
-void write_clip(void *frontend, wchar_t * data, int len, int must_deselect)
+void write_clip(void *frontend, wchar_t * data, int *attr, int len, int must_deselect)
 {
     struct gui_data *inst = (struct gui_data *)frontend;
     if (inst->pasteout_data)