From: Niki Roo Date: Sun, 5 Mar 2017 12:26:10 +0000 (+0100) Subject: Fix for version 1.4.0 (a.k.a., "oopsie") X-Git-Tag: fanfix-swing-0.0.1~12^2~493 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=a3641e4b6b87e09bb6c2e61456992d05d0dcde63;p=fanfix-swing.git Fix for version 1.4.0 (a.k.a., "oopsie") --- diff --git a/src/be/nikiroo/fanfix/Instance.java b/src/be/nikiroo/fanfix/Instance.java index 1266ac7e..28849b32 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 8c470785..9991dfff 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 = ""; } }