From: Alexander Butenko Date: Thu, 1 Jul 2010 20:09:58 +0000 (+0200) Subject: Skip bookmark URIS starting with '(' X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60593b27d17f657193b48b07364585f67539fdb5;p=midori Skip bookmark URIS starting with '(' Due to a bug in the sqlite handling we were happily adding folders with '(null') and it happened to work until now. --- diff --git a/midori/midori-array.c b/midori/midori-array.c index ca8390de..5230d586 100644 --- a/midori/midori-array.c +++ b/midori/midori-array.c @@ -768,7 +768,7 @@ katze_item_set_value_from_column (sqlite3_stmt* stmt, { const unsigned char* uri; uri = sqlite3_column_text (stmt, column); - if (uri && uri[0]) + if (uri && uri[0] && uri[0] != '(') katze_item_set_uri (item, (gchar*)uri); } else if (g_str_equal (name, "title") || g_str_equal (name, "name"))