Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2000:
[Freeciv-Dev] Small server error message enhancement
Home

[Freeciv-Dev] Small server error message enhancement

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx (Freeciv developers)
Subject: [Freeciv-Dev] Small server error message enhancement
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 03 Jun 2000 13:26:19 +0200

Hi,

this patch makes a server error message more useful:

--- stdinhand.c~        Sun May 28 14:01:03 2000
+++ stdinhand.c Sat Jun  3 13:21:25 2000
@@ -2180,7 +2180,8 @@
       }
     } else {
       cmd_reply(CMD_SET, caller, C_SYNTAX,
-       _("Value out of range.  Usage: set <option> <value>."));
+       _("Value out of range (minimum: %d, maximum: %d)."),
+               op->min_value, op->max_value);
     }
   } else {
     if (strlen(arg)<op->sz_svalue) {


Could please somebody apply it?

        Falk




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Small server error message enhancement, Falk Hueffner <=