Fixing problem where scroll-wheel-down on empty files caused erroneous
commit2f75a6acd8d9bfdce74b0a52bdf3cfc1e8e51111
authorNathan Gray <n8gray@users.sourceforge.net>
Mon, 2 Sep 2002 23:18:56 +0000 (2 23:18 +0000)
committerNathan Gray <n8gray@users.sourceforge.net>
Mon, 2 Sep 2002 23:18:56 +0000 (2 23:18 +0000)
tree430d250cec1b022fa1278bd3a4b32fa3448c04d8
parent2975ed79c45d5bc1b374f8e6480d6c39e43718d5
Fixing problem where scroll-wheel-down on empty files caused erroneous
scrolling.  It was a problem with mixing Cardinal (unsigned) and signed
values.  I took the approach of casting cursorVPadding to int before using
it, since it's nice to have Xt reject negative values automatically.
source/textDisp.c