http://bugs.winehq.org/show_bug.cgi?id=12693
--- Comment #9 from Igor Tarasov tarasov.igor@gmail.com 2008-05-11 10:31:48 --- Created an attachment (id=12931) --> (http://bugs.winehq.org/attachment.cgi?id=12931) Patch that fixes this bug (hopefully)
Umm... Since no one responded, I've written a patch. Just take a note that this is the first thing I have EVER written in C. So, I suppose someone could check if it is suitable.
Generally, it makes what it should: checks if there are tabs in the string and reacts on eachm tab appearence (however, it skips all text that goes after second tab since this behavior is not specified).
The patch works in all software I've tried it, I've played with various values and combinations of tabs in ControlSpy, and have not found any bugs.
The only doubtful place in this code is this:
r.left += 3;
I think that this should be done only once, however, I am not very sure about this, since I have absolutely no idea about the purpose of this line.
So, maybe someone could assist me in trying to improve wine? ;)