To: vim-dev@vim.org Subject: Patch 6.0ax.016 Fcc: outbox From: Bram Moolenaar ------------ Patch 6.0ax.016 Problem: The version number was reported wrong in the intro screen. Solution: Check for a version number with two additional letters. Files: src/version.c *** ../vim60ax.15/src/version.c Mon Sep 24 21:04:49 2001 --- src/version.c Mon Sep 24 22:01:59 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 16, /**/ *************** *** 1051,1060 **** STRCPY(vers, mediumVersion); if (highest_patch()) { ! /* Check for 9.9x, alpha/beta version */ if (isalpha((int)mediumVersion[3])) ! sprintf((char *)vers + 4, ".%d%s", highest_patch(), mediumVersion + 4); else sprintf((char *)vers + 3, ".%d", highest_patch()); } --- 1053,1068 ---- STRCPY(vers, mediumVersion); if (highest_patch()) { ! /* Check for 9.9x or 9.9xx, alpha/beta version */ if (isalpha((int)mediumVersion[3])) ! { ! if (isalpha((int)mediumVersion[4])) ! sprintf((char *)vers + 5, ".%d%s", highest_patch(), ! mediumVersion + 5); ! else ! sprintf((char *)vers + 4, ".%d%s", highest_patch(), mediumVersion + 4); + } else sprintf((char *)vers + 3, ".%d", highest_patch()); } -- Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.) (Ralph Jennings) /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///