OSDN Git Service

Apparently, gettext doesn't like double parentheses around argument. What
authorPeter Eisentraut <peter_e@gmx.net>
Mon, 29 Sep 2003 16:39:18 +0000 (16:39 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Mon, 29 Sep 2003 16:39:18 +0000 (16:39 +0000)
were they doing here anyway?

src/bin/psql/command.c

index 9650b15..ce5379e 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 2000-2003, PostgreSQL Global Development Group
  *
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.102 2003/09/16 17:59:02 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.103 2003/09/29 16:39:18 petere Exp $
  */
 #include "postgres_fe.h"
 #include "command.h"
@@ -733,12 +733,9 @@ exec_command(const char *cmd,
                if (!quiet)
                {
                        if (pset.timing)
-                               puts(gettext(("Timing is on.")));
+                               puts(gettext("Timing is on."));
                        else
-                       {
-                               puts(gettext(("Timing is off.")));
-
-                       }
+                               puts(gettext("Timing is off."));
                }
        }