(no commit message)
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 22 Apr 2013 07:36:33 +0000 (07:36 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 22 Apr 2013 07:36:33 +0000 (07:36 +0000)
src/main.c

index b810420..fd0a11f 100644 (file)
@@ -130,12 +130,11 @@ int feed_cursor_changed_cbk(GtkTreeView *treeview, gpointer data)
                for (headlines = feed->headlines; *headlines; headlines++) {
                        gtk_list_store_append(headline_store, &iter);
 
-                       if ((*headlines)->unread) {
+                       if ((*headlines)->unread)
                                title = g_strdup_printf("<b>%s</b>",
                                                        (*headlines)->title);
-                       } else {
+                       else
                                title = strdup((*headlines)->title);
-                       }
 
                        gtk_list_store_set(headline_store,
                                           &iter,