summaryrefslogtreecommitdiff
path: root/src/core/wee-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-command.c')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 87bf62fc7..c128f423c 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -6215,7 +6215,7 @@ COMMAND_CALLBACK(uptime)
snprintf (string, sizeof (string),
"WeeChat uptime: %d %s %02d:%02d:%02d, started on %s",
day,
- (day > 1) ? "days" : "day",
+ (day != 1) ? "days" : "day",
hour,
min,
sec,