From a3641e4b6b87e09bb6c2e61456992d05d0dcde63 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 5 Mar 2017 13:26:10 +0100 Subject: [PATCH] Fix for version 1.4.0 (a.k.a., "oopsie") --- src/be/nikiroo/fanfix/Instance.java | 3 ++- src/be/nikiroo/fanfix/reader/LocalReaderBook.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/be/nikiroo/fanfix/Instance.java b/src/be/nikiroo/fanfix/Instance.java index 1266ac7..28849b3 100644 --- a/src/be/nikiroo/fanfix/Instance.java +++ b/src/be/nikiroo/fanfix/Instance.java @@ -192,7 +192,8 @@ public class Instance { */ public static boolean isVersionCheckNeeded() { try { - long wait = config.getInteger(Config.UPDATE_INTERVAL, 1) * 24 * 60 * 60; + long wait = config.getInteger(Config.UPDATE_INTERVAL, 1) * 24 * 60 + * 60 * 1000; if (wait >= 0) { String lastUpString = IOUtils.readSmallFile(new File(configDir, "LAST_UPDATE")); diff --git a/src/be/nikiroo/fanfix/reader/LocalReaderBook.java b/src/be/nikiroo/fanfix/reader/LocalReaderBook.java index 8c47078..9991dff 100644 --- a/src/be/nikiroo/fanfix/reader/LocalReaderBook.java +++ b/src/be/nikiroo/fanfix/reader/LocalReaderBook.java @@ -109,7 +109,7 @@ class LocalReaderBook extends JPanel { } else if (meta.getWords() > 0) { optSecondary = meta.getWords() + " words"; } else { - optSecondary = "empty"; + optSecondary = ""; } } -- 2.27.0