From 76b4e3521010292988b0b803105c003bf961b6b5 Mon Sep 17 00:00:00 2001 From: Allanis Date: Tue, 17 Dec 2013 11:50:53 +0000 Subject: [PATCH] [Fix] Check if plural or singular in autonav message. --- src/player.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/player.c b/src/player.c index 9ed93d4..87b87c1 100644 --- a/src/player.c +++ b/src/player.c @@ -1816,8 +1816,8 @@ void player_brokeHyperspace(void) { player_message("Autonav arrived at destination."); player_rmFlag(PLAYER_AUTONAV); } else { - player_message("Autonav continuing until destination (%d jumps left).", - map_npath); + player_message("Autonav continuing until destination (%d jump%s left).", + map_npath, (map_npath==1) ? "" : "s"); } }