richedit: Fixed scrollbar visiblility calculation after SetScrollInfo.
commit5f51221d9c1b94040ef354e7f62a0ce9a838cdab
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 24 Feb 2009 07:38:49 +0000 (24 02:38 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 Feb 2009 15:57:28 +0000 (24 16:57 +0100)
tree0586446937c3195dacf1af2fc14f4b2355c951ea
parenta0466e2c0eb25fc0c2c6db1fbcca00b42be1d941
richedit: Fixed scrollbar visiblility calculation after SetScrollInfo.

The scrollbar visibility can be changed from SetScrollRange or
SetScrollInfo, but the visiblity that is a result of these calls are
not consistent with the calculation made by richedit controls to
decide whether to show or hide the scrollbars.
dlls/riched20/paint.c