Fix escaping of non-breaking space in time string

This commit is contained in:
str4d
2017-05-15 04:53:58 +00:00
parent 208372ed9e
commit feee22e389

View File

@@ -2278,7 +2278,7 @@ public class SnarkManager implements CompleteListener, ClientApp {
// don't bother delaying if auto start is false // don't bother delaying if auto start is false
long delay = (60L * 1000) * getStartupDelayMinutes(); long delay = (60L * 1000) * getStartupDelayMinutes();
if (delay > 0 && shouldAutoStart()) { if (delay > 0 && shouldAutoStart()) {
addMessage(_t("Adding torrents in {0}", DataHelper.formatDuration2(delay))); addMessageNoEscape(_t("Adding torrents in {0}", DataHelper.formatDuration2(delay)));
try { Thread.sleep(delay); } catch (InterruptedException ie) {} try { Thread.sleep(delay); } catch (InterruptedException ie) {}
// Remove that first message // Remove that first message
if (_messages.size() == 1) if (_messages.size() == 1)