diff options
author | Colomban Wendling <[email protected]> | 2023-11-15 14:42:02 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-11-21 20:19:58 +0000 |
commit | ec5938e508526a70962e770ddd811f020951d1e8 (patch) | |
tree | 2a4e31654081501fffa3b01d93e80be4e1b1643f /configure.ac | |
parent | f9fb27ba92e61a16a81285aedcfab5d28bd5519e (diff) | |
download | mate-panel-ec5938e508526a70962e770ddd811f020951d1e8.tar.bz2 mate-panel-ec5938e508526a70962e770ddd811f020951d1e8.tar.xz |
clock: Simplify sort_locations_by_time()
There is no need to return -1 or 1 specifically, anything on the right
side of 0 is OK, so simplify using the usual `a - b` implementation for
such sort functions.
Note that the type is OK here, as the `struct tm` are ints, the same as
the function's return value.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions