• Jinoh Kang's avatar
    msi: Don't open code dialog_add_control() in dialog_line_control(). · 1fca47b7
    Jinoh Kang authored
    Commit b1cc87cb ("msi: The line control has a height of exactly 2
    device units.", 2007-12-16) open-coded the body of
    (msi_)dialog_add_control() inside dialog_line_control() modulo the
    height override.
    
    Except the fixed height, line controls have nothing special compared to
    other controls.  Thus, there is little merit in open-coding it.
    
    Also, dialog_line_control() has bit-rotted over time; it already missed
    a few changes that were done to any other controls.
    
    Fix this by just using dialog_add_control().  Also, add a special case
    logic just for line controls.
    1fca47b7
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...