Rework the new type-check in sresize so that it doesn't cause a
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Jul 2012 04:29:50 +0000 (04:29 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 19 Jul 2012 04:29:50 +0000 (04:29 +0000)
commitf0f0ae7f27c50b0bc586d360da17f3cb05e9c467
treed857169071bd31067d4ad5bb251f6b96f7cd5f5e
parent6f3370a03ed6393c049a13b78d2188135624beea
Rework the new type-check in sresize so that it doesn't cause a
compile warning ('left-hand operand of comma expression has no
effect'), which of course becomes fatal under -Werror.

(This would have been instantly noticeable to people compiling with
the old-fashioned Makefile.gtk, which does include -Wall -Werror, but
those of us using the new autoconf makefile hadn't noticed.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@9582 cda61777-01e9-0310-a592-d414129be87e
puttymem.h