summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2011-07-23 23:33:17 +0000
committerAndrew Dunstan2011-07-23 23:33:17 +0000
commite399eb74d96270bf1d4a0bb9f4503cac3d90c1e2 (patch)
tree336b497fade1afb9b9e2af1d7ad7a916923b04e9
parent79b3ca06d820032ad84446e0a021b56422172d86 (diff)
Unbreak Windows builds broken by EDITOR_LINENUMBER_ARG change.
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index ad7a7da816..aeabe5bf3c 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -1808,7 +1808,7 @@ editFile(const char *fname, int lineno)
#else
if (lineno > 0)
sprintf(sys, SYSTEMQUOTE "\"%s\" %s%d \"%s\"" SYSTEMQUOTE,
- editorName, editor_lineno_switch, lineno, fname);
+ editorName, editor_lineno_arg, lineno, fname);
else
sprintf(sys, SYSTEMQUOTE "\"%s\" \"%s\"" SYSTEMQUOTE,
editorName, fname);