http://bugs.winehq.org/show_bug.cgi?id=22109
--- Comment #9 from Konstantin Kondratyuk kondratyuk@etersoft.ru 2010-05-17 07:15:26 --- (In reply to comment #8)
When this is in BiuTicker thread, i try to replace that code in dlls/user32/text.c and got :-/
wine: Unhandled division by zero at address 0x7eda99bc (thread 0009), starting debugger...
Oops! :( My mistake, it's bad example. I use follow code now:
int sign = 1; if(rect.top < 0 && rect.bottom < 0) sign = -1; ...