comparison src/ex_cmds.c @ 5678:b06e58f8dd30 v7.4.185

updated for version 7.4.185 Problem: Clang gives warnings. Solution: Adjust how bigness is set. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Sat, 22 Feb 2014 22:27:47 +0100
parents 8122eab8fcdb
children bb402c49379d
comparison
equal deleted inserted replaced
5677:093067af7c6c 5678:b06e58f8dd30
4097 4097
4098 /* Vi compatible: ":z!" uses display height, without a count uses 4098 /* Vi compatible: ":z!" uses display height, without a count uses
4099 * 'scroll' */ 4099 * 'scroll' */
4100 if (eap->forceit) 4100 if (eap->forceit)
4101 bigness = curwin->w_height; 4101 bigness = curwin->w_height;
4102 else if (firstwin == lastwin) 4102 #ifdef FEAT_WINDOWS
4103 else if (firstwin != lastwin)
4104 bigness = curwin->w_height - 3;
4105 #endif
4106 else
4103 bigness = curwin->w_p_scr * 2; 4107 bigness = curwin->w_p_scr * 2;
4104 #ifdef FEAT_WINDOWS
4105 else
4106 bigness = curwin->w_height - 3;
4107 #endif
4108 if (bigness < 1) 4108 if (bigness < 1)
4109 bigness = 1; 4109 bigness = 1;
4110 4110
4111 x = eap->arg; 4111 x = eap->arg;
4112 kind = x; 4112 kind = x;