richedit: Avoid redundant calls to ME_CalcRunExtent.
commitc0ee555e8f2684317ecf5baddd87cd966d59cbbe
authorDylan Smith <dylan.ah.smith@gmail.com>
Thu, 29 Jul 2010 18:07:50 +0000 (29 14:07 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 30 Jul 2010 09:36:02 +0000 (30 11:36 +0200)
tree7cdc192f9442a26e9d384f9341f3ea8360edd0dd
parent8b8e4f89b224fee0a6eb674d4d1aec9c0805e354
richedit: Avoid redundant calls to ME_CalcRunExtent.

ME_SplitRun is only called by wrapping code. In all but one call the
returned second half of the split run will be returned, get passed back
to ME_WrapHandleRun, then ME_CalcRunExtent will be called at the start of
ME_WrapHandleRun through ME_WrapSizeRun.
dlls/riched20/run.c
dlls/riched20/wrap.c