From 365a22c63cb292ea494f39ebc48a37e322e5eb14 Mon Sep 17 00:00:00 2001 From: runge Date: Tue, 21 Dec 2010 12:04:02 -0500 Subject: x11vnc: touchscreen uinput support and Java viewer mousewheel support. See x11vnc/ChangeLog for rest. --- x11vnc/appshare.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'x11vnc/appshare.c') diff --git a/x11vnc/appshare.c b/x11vnc/appshare.c index fc3c29e..71cdf17 100644 --- a/x11vnc/appshare.c +++ b/x11vnc/appshare.c @@ -1358,7 +1358,7 @@ static void list_apps(void) { static int process_control(char *file, int check_clients) { int i, nnew = 0, seen[CMAX]; - char line[1024], *new[CMAX]; + char line[1024], *newctl[CMAX]; FILE *f; f = fopen(file, "r"); @@ -1481,7 +1481,7 @@ static int process_control(char *file, int check_clients) { if (idx >= 0) { seen[idx] = 1; } else { - new[nnew++] = strdup(q); + newctl[nnew++] = strdup(q); } } } @@ -1509,8 +1509,8 @@ static int process_control(char *file, int check_clients) { } continue; } - clients[free] = new[i]; - client(new[i], 1); + clients[free] = newctl[i]; + client(newctl[i], 1); } } return 1; -- cgit v1.2.3