Added missing 'if' space.
This commit is contained in:
parent
f14a73584f
commit
e4a65c72dd
|
@ -135,7 +135,7 @@ static std::string get_from_desktop_app_info_search(const std::string &app_id)
|
||||||
gchar*** desktop_list = g_desktop_app_info_search(app_id.c_str());
|
gchar*** desktop_list = g_desktop_app_info_search(app_id.c_str());
|
||||||
if (desktop_list != nullptr && desktop_list[0] != nullptr) {
|
if (desktop_list != nullptr && desktop_list[0] != nullptr) {
|
||||||
for (size_t i=0; desktop_list[0][i]; i++) {
|
for (size_t i=0; desktop_list[0][i]; i++) {
|
||||||
if(desktop_file == "") {
|
if (desktop_file == "") {
|
||||||
desktop_file = desktop_list[0][i];
|
desktop_file = desktop_list[0][i];
|
||||||
} else {
|
} else {
|
||||||
auto tmp_info = Gio::DesktopAppInfo::create(desktop_list[0][i]);
|
auto tmp_info = Gio::DesktopAppInfo::create(desktop_list[0][i]);
|
||||||
|
|
Loading…
Reference in New Issue