Skip to content

Commit

Permalink
Wrap blank string in std::string constructor, updates #121
Browse files Browse the repository at this point in the history
  • Loading branch information
daf committed Jan 16, 2019
1 parent 814f84e commit 545376e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SetBG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1808,7 +1808,7 @@ bool SetBGXFCE::call_xfconf(Glib::ustring disp, std::string key, const std::vect
vecCmdLine.insert(vecCmdLine.end(), params.begin(), params.end());

try {
Glib::spawn_async("", vecCmdLine, Glib::SPAWN_SEARCH_PATH);
Glib::spawn_async(std::string(""), vecCmdLine, Glib::SPAWN_SEARCH_PATH);
}
catch (Glib::SpawnError e) {
std::cerr << _("ERROR") << "\n" << e.what() << "\n";
Expand Down

0 comments on commit 545376e

Please # to comment.