Properly handle 0 seconds in secondsToString()
authorMichael Marley <michael@michaelmarley.com>
Sat, 2 Jul 2016 14:20:58 +0000 (10:20 -0400)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 7 Sep 2016 20:11:40 +0000 (22:11 +0200)
commit757dc75aada1e4c5077cf46969f6422bffa08ce3
tree0c5e4fe67fbef948296325745f17a4a6d5fd0f69
parent6ee26fd6d0a163314002616d277e5444f11b7720
Properly handle 0 seconds in secondsToString()

Previously if 0 seconds was passed in, an empty string would be
returned.  Instead, "0 sec" should be returned.

Resolves GH-223.
src/common/util.cpp