From d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 5 Feb 2006 04:46:57 +0000 Subject: x11vnc: -8to24 speedups and improvements. --- x11vnc/x11vnc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'x11vnc/x11vnc.c') diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 020df6e..36e0ff9 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -908,6 +908,8 @@ static void print_settings(int try_http, int bg, char *gui_str) { fprintf(stderr, " shiftcmap: %d\n", shift_cmap); fprintf(stderr, " force_idx: %d\n", force_indexed_color); fprintf(stderr, " cmap8to24: %d\n", cmap8to24); + fprintf(stderr, " 8to24_opts: %s\n", cmap8to24_str ? cmap8to24_str + : "null"); fprintf(stderr, " visual: %s\n", visual_str ? visual_str : "null"); fprintf(stderr, " overlay: %d\n", overlay); @@ -1277,6 +1279,7 @@ int main(int argc, char* argv[]) { char *s = argv[i+1]; if (s[0] != '-') { cmap8to24_str = strdup(s); + i++; } } } else if (!strcmp(arg, "-visual")) { -- cgit v1.2.1