Preserve more attributes of text copied as RTF. Thanks to Stephen Balousek.
[u/mdw/putty] / mac / macterm.c
index 8cbf6cf..dad2688 100644 (file)
@@ -595,7 +595,7 @@ static void text_click(Session *s, EventRecord *event)
     lastwhen = TickCount();
 }
 
-void write_clip(void *cookie, wchar_t *data, int len, int must_deselect)
+void write_clip(void *cookie, wchar_t *data, int *attr, int len, int must_deselect)
 {
 #if !TARGET_API_MAC_CARBON
     Session *s = cookie;