Changeset 12107


Ignore:
Timestamp:
Mar 6, 2011, 3:06:38 PM (11 years ago)
Author:
jordan
Message:

(trunk gtk) fix time display oops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/util.c

    r12068 r12107  
    184184    g_snprintf( s, sizeof( s ), gtr_ngettext( "%'d second", "%'d seconds", seconds ), seconds );
    185185
    186     if( days >= 4 || !hours )
     186    if( days >= 4 )
    187187        g_strlcpy( buf, d, buflen );
    188188    else if( days )
    189189        g_snprintf( buf, buflen, "%s, %s", d, h );
    190     else if( hours >= 4 || !minutes )
     190    else if( hours >= 4 )
    191191        g_strlcpy( buf, h, buflen );
    192192    else if( hours )
    193193        g_snprintf( buf, buflen, "%s, %s", h, m );
    194     else if( minutes >= 4 || !seconds )
     194    else if( minutes >= 4 )
    195195        g_strlcpy( buf, m, buflen );
    196196    else if( minutes )
Note: See TracChangeset for help on using the changeset viewer.