wDockAttachIcon icon_editing is common in if else
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 10 Nov 2012 18:25:53 +0000 (19:25 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 10 Nov 2012 19:41:34 +0000 (19:41 +0000)
commit6bc48464e9dff71ffa74767964e3121b6216735e
tree280a480f3063110c3c0b377f1e2b0c03aaa66b66
parentb657f15344f193d70747689f96cefddc8baa2181
wDockAttachIcon icon_editing is common in if else

The line "icon_editing = 0" is the first line in the "if" sentence
and the first (and only) sentence in the "else" block, so can be
moved outside the if-else (and the empty else block can be removed).
src/dock.c