mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
Ticket #217: Missing Progress in GTK+ Torrent Inspector (reported by CatharsisCarth)
This commit is contained in:
parent
ecf19e2528
commit
5d9fe27797
2 changed files with 2 additions and 2 deletions
|
@ -1018,7 +1018,7 @@ getdirtotals( GtkTreeStore * store, GtkTreeIter * parent )
|
|||
mysize = 0;
|
||||
if( gtk_tree_model_iter_children( model, &iter, parent ) ) do
|
||||
{
|
||||
if( !gtk_tree_model_iter_has_child( model, &iter ) )
|
||||
if( gtk_tree_model_iter_has_child( model, &iter ) )
|
||||
{
|
||||
subsize = getdirtotals( store, &iter );
|
||||
gtk_tree_store_set( store, &iter, FC_SIZE, subsize, -1 );
|
||||
|
|
|
@ -313,7 +313,7 @@ getdownloaddir( void )
|
|||
const char * dir = tr_prefs_get( PREF_ID_DIR );
|
||||
if (NULL == dir) {
|
||||
if (NULL == wd)
|
||||
wd = g_get_current_dir(),
|
||||
wd = g_get_current_dir();
|
||||
dir = wd;
|
||||
}
|
||||
return dir;
|
||||
|
|
Loading…
Reference in a new issue