summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/prettytable.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prettytable.cpp b/src/prettytable.cpp
index 10ee060..4a9b922 100644
--- a/src/prettytable.cpp
+++ b/src/prettytable.cpp
@@ -51,7 +51,8 @@ PrettyTable::on_application_opened(MatewnckScreen* screen, MatewnckApplication*
Glib::RefPtr<Gdk::Pixbuf> icon;
-
+
+ // Make sure that icon_name is a valid symlink before loading.
f = fopen (icon_name, "r");
if (f != NULL) {
fclose (f);