diff --git a/gtk/conf.c b/gtk/conf.c index de82552c0..d78a9757a 100644 --- a/gtk/conf.c +++ b/gtk/conf.c @@ -77,6 +77,8 @@ tr_prefs_init_defaults (tr_benc * d) if (!str) str = tr_getDefaultDownloadDir (); + tr_bencDictReserve (d, 29); + tr_bencDictAddStr (d, PREF_KEY_DIR_WATCH, str); tr_bencDictAddBool (d, PREF_KEY_DIR_WATCH_ENABLED, FALSE); diff --git a/libtransmission/session.c b/libtransmission/session.c index 09593ad0f..19d8907f5 100644 --- a/libtransmission/session.c +++ b/libtransmission/session.c @@ -307,7 +307,7 @@ tr_sessionGetDefaultSettings (tr_benc * d) { assert (tr_bencIsDict (d)); - tr_bencDictReserve (d, 60); + tr_bencDictReserve (d, 62); tr_bencDictAddBool (d, TR_PREFS_KEY_BLOCKLIST_ENABLED, false); tr_bencDictAddStr (d, TR_PREFS_KEY_BLOCKLIST_URL, "http://www.example.com/blocklist"); tr_bencDictAddInt (d, TR_PREFS_KEY_MAX_CACHE_SIZE_MB, DEFAULT_CACHE_SIZE_MB);