summaryrefslogtreecommitdiff
path: root/src/gui_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_mac.c')
-rw-r--r--src/gui_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_mac.c b/src/gui_mac.c
index 2c3356248..0a8b0bcc5 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -4671,7 +4671,7 @@ clip_mch_request_selection(VimClipboard *cbd)
if (flavor)
type = **textOfClip;
else
- type = (strchr(*textOfClip, '\r') != NULL) ? MLINE : MCHAR;
+ type = MAUTO;
tempclip = lalloc(scrapSize + 1, TRUE);
mch_memmove(tempclip, *textOfClip + flavor, scrapSize);