vpatch - use 'cols' in main window.
commit5eb651029aed24bbe4e093ffb11b6a70c02b44e2
authorNeilBrown <neilb@suse.de>
Thu, 17 May 2012 07:26:13 +0000 (17 17:26 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 17 May 2012 07:26:13 +0000 (17 17:26 +1000)
tree9b349b1865aacd0832ac4cdbc3d91482c148801d
parent9c7b89a7b7bfa33ec24c04dfebceba1a464cbf1b
vpatch - use 'cols' in main window.

We currently don't use 'cols' - which causes a warning because
it is set by an assignment inside a macro..

The trick to quiet to warning causes different warnings on other
compilers.

We could just do
   rows = getmaxy()
but that is 'legacy' so I'd rather not.

So just find somewhere to use cols..

Reported-by: "P. Martin" <mrsmiley98@lycos.com>
Signed-off-by: NeilBrown <neilb@suse.de>
vpatch.c