http://bugs.winehq.org/show_bug.cgi?id=10809 --- Comment #6 from Alex Villacís Lasso <a_villacis(a)palosanto.com> 2007-12-18 10:43:13 --- (In reply to comment #5)
Created an attachment (id=9684) --> (http://bugs.winehq.org/attachment.cgi?id=9684) [details] Correct wrong constant used for initial count
I think the maxinsert should start at 0 not LB_ERR which is -1. This change make the dialog work and I think that was the intended function of the new variable. I will send to wine patches shortly.
This patch breaks the user32 tests: listbox.c:584: Test failed: SendMessage(LB_DIR, 0, *) returned incorrect index (expected 59 got 60)! listbox.c:605: Test failed: SendMessage(LB_DIR, 0, w*.c) returned incorrect index (expected 2 got 3)! listbox.c:632: Test failed: SendMessage(LB_DIR, DDL_DIRECTORY, *) returned incorrect index (expected 60 got 61)! listbox.c:650: Test failed: SendMessage(LB_DIR, DDL_DIRECTORY, w*.c) returned incorrect index (expected 2 got 3)! listbox.c:824: Test failed: SendMessage(LB_DIR, DDL_DIRECTORY|DDL_EXCLUSIVE, *) failed - 0x00000012 listbox.c:831: Test failed: SendMessage(LB_DIR, DDL_DIRECTORY|DDL_EXCLUSIVE, *) returned incorrect index! listbox.c:841: Test failed: SendMessage(LB_DIR, DDL_DIRECTORY|DDL_EXCLUSIVE, w*.c) returned 0 expected -1 make: *** [listbox.ok] Error 7 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.