diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
32 | #include "history.h" | 32 | #include "history.h" |
33 | #include "ipc.h" | 33 | #include "ipc.h" |
34 | #include "periodic.h" | 34 | #include "periodic.h" |
35 | #include "sitespec.h" | ||
35 | #include "ui/certimportwidget.h" | 36 | #include "ui/certimportwidget.h" |
36 | #include "ui/color.h" | 37 | #include "ui/color.h" |
37 | #include "ui/command.h" | 38 | #include "ui/command.h" |
@@ -752,6 +753,7 @@ static void init_App_(iApp *d, int argc, char **argv) { | |||
752 | } | 753 | } |
753 | #endif | 754 | #endif |
754 | init_Prefs(&d->prefs); | 755 | init_Prefs(&d->prefs); |
756 | init_SiteSpec(dataDir_App_()); | ||
755 | setCStr_String(&d->prefs.downloadDir, downloadDir_App_()); | 757 | setCStr_String(&d->prefs.downloadDir, downloadDir_App_()); |
756 | set_Atomic(&d->pendingRefresh, iFalse); | 758 | set_Atomic(&d->pendingRefresh, iFalse); |
757 | d->isRunning = iFalse; | 759 | d->isRunning = iFalse; |
@@ -832,6 +834,7 @@ static void deinit_App(iApp *d) { | |||
832 | deinit_Feeds(); | 834 | deinit_Feeds(); |
833 | save_Keys(dataDir_App_()); | 835 | save_Keys(dataDir_App_()); |
834 | deinit_Keys(); | 836 | deinit_Keys(); |
837 | deinit_SiteSpec(); | ||
835 | savePrefs_App_(d); | 838 | savePrefs_App_(d); |
836 | deinit_Prefs(&d->prefs); | 839 | deinit_Prefs(&d->prefs); |
837 | save_Bookmarks(d->bookmarks, dataDir_App_()); | 840 | save_Bookmarks(d->bookmarks, dataDir_App_()); |