http://bugs.winehq.org/show_bug.cgi?id=3043
------- Additional Comments From info@suscomputing.com 2005-08-06 11:58 ------- Created an attachment (id=922) --> (http://bugs.winehq.org/attachment.cgi?id=922&action=view) Fixes the bug and has much smaller code
The behaviour now conforms 100% to the behaviour tested using microsoft's ControlSpy on Windows 2000. It seems the first for loop was unnecessary--Windows does not appear to make these checks. Also, there was a bug in the previous code causing the index to be reset to 0 no matter what (if (index < 9 || index > 3) index = 0;). This was what was causing the problem.