summaryrefslogtreecommitdiff
path: root/src/os_qnx.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-06-19 01:14:29 +0200
committerBram Moolenaar <Bram@vim.org>2011-06-19 01:14:29 +0200
commitd44347f1e7791ead2d90b1fda06d9f4e325d912e (patch)
treed00df322e29d233a3845b5c12c3973375dc4a073 /src/os_qnx.c
parent19e609437873594b8b08aaceafbe81ef235044bf (diff)
downloadvim-git-d44347f1e7791ead2d90b1fda06d9f4e325d912e.tar.gz
updated for version 7.3.221v7.3.221
Problem: Text from the clipboard is sometimes handled as linewise, but not consistently. Solution: Assume the text is linewise when it ends in a CR or NL.
Diffstat (limited to 'src/os_qnx.c')
-rw-r--r--src/os_qnx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_qnx.c b/src/os_qnx.c
index 1a7250eab..84b6a1cf7 100644
--- a/src/os_qnx.c
+++ b/src/os_qnx.c
@@ -93,7 +93,7 @@ clip_mch_request_selection( VimClipboard *cbd )
clip_length = clip_header->length - 1;
if( clip_text != NULL && is_type_set == FALSE )
- type = (strchr( clip_text, '\r' ) != NULL) ? MLINE : MCHAR;
+ type = MAUTO;
}
if( (clip_text != NULL) && (clip_length > 0) )