Skip to content

Commit 3252352

Browse files
mrsteve0924trigg
authored andcommitted
Apply uncrustify formatting
1 parent 17dd566 commit 3252352

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/panel/widgets/command-output.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "command-output.hpp"
1515

1616
static sigc::connection label_set_from_command(std::string command_line,
17-
Gtk::Label& label, Gtk::Image* icon = nullptr,
17+
Gtk::Label& label, Gtk::Image *icon = nullptr,
1818
const std::string& icon_name = "")
1919
{
2020
command_line = "/bin/sh -c \"" + command_line + "\"";
@@ -47,12 +47,12 @@ static sigc::connection label_set_from_command(std::string command_line,
4747
label.set_markup(output);
4848

4949
if (icon &&
50-
!icon_name.empty() &&
51-
(icon_name[0] == '/' ||
52-
icon_name.rfind("~/", 0) == 0))
53-
{
54-
IconProvider::image_set_icon(*icon, icon_name);
55-
}
50+
!icon_name.empty() &&
51+
((icon_name[0] == '/') ||
52+
(icon_name.rfind("~/", 0) == 0)))
53+
{
54+
IconProvider::image_set_icon(*icon, icon_name);
55+
}
5656
}, pid);
5757
}
5858

0 commit comments

Comments
 (0)