]> granicus.if.org Git - transmission/commitdiff
(trunk gtk) fix r10077 typo
authorCharles Kerr <charles@transmissionbt.com>
Tue, 2 Feb 2010 18:17:21 +0000 (18:17 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Tue, 2 Feb 2010 18:17:21 +0000 (18:17 +0000)
gtk/details.c

index 146df3e91f35385ac2c372d61824cffea83ecd5d..a545d4880e6a567f07c8561fe6a8983310996999 100644 (file)
@@ -771,7 +771,7 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** torrents, int n )
     gtr_label_set_text( GTK_LABEL( di->have_lb ), str );
 
     /* availability_lb */
-    if( sizeWhenDone  )
+    if( !sizeWhenDone  )
         str = none;
     else {
         const double d = ( 100.0 * available ) / sizeWhenDone;