summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.303
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2018-05-25 23:29:36 +0000
committer Eric Hameleers <alien@slackware.com>2018-05-31 15:18:32 -0700
commit8ff4f2f51a6cf07fc33742ce3bee81328896e49b (patch)
tree4a166b8389404be98a6c098babaa444e2dec8f48 /patches/source/vim/patches/7.4.303
parent76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (diff)
downloadcurrent-14.1.tar.gz
current-14.1.tar.xz
Fri May 25 23:29:36 UTC 201814.1
patches/packages/glibc-zoneinfo-2018e-noarch-2_slack14.1.txz: Rebuilt. Handle removal of US/Pacific-New timezone. If we see that the machine is using this, it will be automatically switched to US/Pacific.
Diffstat (limited to 'patches/source/vim/patches/7.4.303')
-rw-r--r--patches/source/vim/patches/7.4.30385
1 files changed, 85 insertions, 0 deletions
diff --git a/patches/source/vim/patches/7.4.303 b/patches/source/vim/patches/7.4.303
new file mode 100644
index 000000000..8e49c6948
--- /dev/null
+++ b/patches/source/vim/patches/7.4.303
@@ -0,0 +1,85 @@
+To: vim_dev@googlegroups.com
+Subject: Patch 7.4.303
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.4.303
+Problem: When using double-width characters the text displayed on the
+ command line is sometimes truncated.
+Solution: Reset the string lenght. (Nobuhiro Takasaki)
+Files: src/screen.c
+
+
+*** ../vim-7.4.302/src/screen.c 2014-05-22 15:51:00.734399594 +0200
+--- src/screen.c 2014-05-22 16:02:24.294385701 +0200
+***************
+*** 6916,6930 ****
+ * a NUL.
+ */
+ void
+! screen_puts_len(text, len, row, col, attr)
+ char_u *text;
+! int len;
+ int row;
+ int col;
+ int attr;
+ {
+ unsigned off;
+ char_u *ptr = text;
+ int c;
+ #ifdef FEAT_MBYTE
+ unsigned max_off;
+--- 6916,6931 ----
+ * a NUL.
+ */
+ void
+! screen_puts_len(text, textlen, row, col, attr)
+ char_u *text;
+! int textlen;
+ int row;
+ int col;
+ int attr;
+ {
+ unsigned off;
+ char_u *ptr = text;
++ int len = textlen;
+ int c;
+ #ifdef FEAT_MBYTE
+ unsigned max_off;
+***************
+*** 7169,7175 ****
+--- 7170,7180 ----
+ col += mbyte_cells;
+ ptr += mbyte_blen;
+ if (clear_next_cell)
++ {
++ /* This only happens at the end, display one space next. */
+ ptr = (char_u *)" ";
++ len = -1;
++ }
+ }
+ else
+ #endif
+*** ../vim-7.4.302/src/version.c 2014-05-22 15:51:00.738399594 +0200
+--- src/version.c 2014-05-22 15:58:15.050390766 +0200
+***************
+*** 736,737 ****
+--- 736,739 ----
+ { /* Add new patch number below this line */
++ /**/
++ 303,
+ /**/
+
+--
+hundred-and-one symptoms of being an internet addict:
+193. You ask your girlfriend to drive home so you can sit back with
+ your PDA and download the information to your laptop
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///