[Bug 12693] statusbar doubletab problem

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 11 10:31:50 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=12693





--- Comment #9 from Igor Tarasov <tarasov.igor at 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? ;)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list