aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/util/makekeys.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-29 00:17:36 +0100
committerMarc Haesen <marc@hc-consult.be>2011-12-29 00:17:36 +0100
commitd515b895dc5151d102f33b577cafbf63473bbafa (patch)
tree98986aec1f43152c3c5f4f8f8a19d29f88b42d83 /libX11/src/util/makekeys.c
parentecb8be4d2a289c5308f3f23929116d2fe6aafa4b (diff)
parent9715b7fab0757c86e1bb151f3dce0b324bcff692 (diff)
downloadvcxsrv-d515b895dc5151d102f33b577cafbf63473bbafa.tar.gz
vcxsrv-d515b895dc5151d102f33b577cafbf63473bbafa.tar.bz2
vcxsrv-d515b895dc5151d102f33b577cafbf63473bbafa.zip
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'libX11/src/util/makekeys.c')
-rw-r--r--libX11/src/util/makekeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libX11/src/util/makekeys.c b/libX11/src/util/makekeys.c
index 516f97115..f1fabaadf 100644
--- a/libX11/src/util/makekeys.c
+++ b/libX11/src/util/makekeys.c
@@ -52,7 +52,6 @@ static char tab[KTNUM];
static unsigned short offsets[KTNUM];
static unsigned short indexes[KTNUM];
static KeySym values[KTNUM];
-static char buf[1024];
static int ksnum = 0;
static int
@@ -113,6 +112,7 @@ main(int argc, char *argv[])
int num_found;
KeySym val;
char key[128], prefix[128];
+ static char buf[1024];
for (l = 1; l < argc; l++) {
fptr = fopen(argv[l], "r");