https://bugs.winehq.org/show_bug.cgi?id=39556
Bug ID: 39556 Summary: Dead code in DIALOG_CreateControls32 Product: Wine Version: 1.7.54 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
DIALOG_CreateControls32 sets hwndDefButton to 0, then checks if (hwndDefButton), then sets hwndDefButton to hwndCtrl. The code would do the exact same thing if everything related to hwndDefButton was deleted.
https://source.winehq.org/git/wine.git/blob/cbaab82d086e36dacaa22c6adf80f911...
https://bugs.winehq.org/show_bug.cgi?id=39556
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=39556
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- I don't see a problem with that. It runs a loop through all dialog items.
https://bugs.winehq.org/show_bug.cgi?id=39556
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Don't see a problem either. Should probably be closed.
https://bugs.winehq.org/show_bug.cgi?id=39556
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED
--- Comment #3 from Alex Henrie alexhenrie24@gmail.com --- I missed the loop. Sorry for the noise.
https://bugs.winehq.org/show_bug.cgi?id=39556
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.