]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timedelta.cpp
Assimilate exceptions and RefPtr from mspmisc
[libs/core.git] / source / time / timedelta.cpp
index f7b037ea7d154dac0e7b931106fbd2932a1dbbba..7d3d4bb6d2a2ff706ca898582bc241fb72e1a7e2 100644 (file)
@@ -14,7 +14,7 @@ namespace {
 
 void print_part(ostream &out, int64_t &value, int64_t unit, char sep, bool &first)
 {
-       if(!value || (value<unit && first))
+       if(value<unit && first)
                return;
        
        if(!first)