aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-05 15:17:45 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-05 15:17:45 +0000
commit33e3fa66bc45511c17d281da436ca94f75e2408a (patch)
treeee2da61c595c7e44cabd1de57e1a8b300d4547cc
parentc76e0e5168bb2ab7ddb4ccb3e302af6c617c94b8 (diff)
downloadgnunet-gtk-33e3fa66bc45511c17d281da436ca94f75e2408a.tar.gz
gnunet-gtk-33e3fa66bc45511c17d281da436ca94f75e2408a.zip
-fix argument order, set availability to 100% also for empty files
-rw-r--r--src/fs/gnunet-fs-gtk_event-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk_event-handler.c b/src/fs/gnunet-fs-gtk_event-handler.c
index 1a2f8306..6d4cac5e 100644
--- a/src/fs/gnunet-fs-gtk_event-handler.c
+++ b/src/fs/gnunet-fs-gtk_event-handler.c
@@ -1607,7 +1607,7 @@ GNUNET_GTK_add_search_result (struct SearchTab *tab,
1607 2, fsize, 1607 2, fsize,
1608 3, pixbuf /* preview */ , 1608 3, pixbuf /* preview */ ,
1609 4, 0 /* percent progress */ , 1609 4, 0 /* percent progress */ ,
1610 5, 0 /* percent availability */ , 1610 5, (fsize == 0) ? 100 : 0 /* percent availability */ ,
1611 6, desc /* filename/description */ , 1611 6, desc /* filename/description */ ,
1612 7, uris, 1612 7, uris,
1613 8, status_colour, 1613 8, status_colour,