To: vim_dev@googlegroups.com Subject: Patch 9.0.1089 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1089 Problem: unnessary assignment Solution: Remove the assignment. (Luuk van Baal, closes #1136) Files: src/memline.c *** ../vim-9.0.1088/src/memline.c 2022-12-05 13:50:49.718052362 +0000 --- src/memline.c 2022-12-23 10:29:52.680583838 +0000 *************** *** 316,324 **** #endif buf->b_ml.ml_flags = ML_EMPTY; buf->b_ml.ml_line_count = 1; - #ifdef FEAT_LINEBREAK - curwin->w_nrwidth_line_count = 0; - #endif /* * fill block0 struct and write page 0 --- 316,321 ---- *** ../vim-9.0.1088/src/version.c 2022-12-22 21:06:35.047328431 +0000 --- src/version.c 2022-12-23 12:16:48.501328716 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1089, /**/ -- "It's so simple to be wise. Just think of something stupid to say and then don't say it." -- Sam Levenson /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///