summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2006-02-05 04:46:57 +0000
committerrunge <runge>2006-02-05 04:46:57 +0000
commitd0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f (patch)
tree70a0c8ca556ac5a3b2420dae98adb3ddf5960969 /x11vnc/x11vnc.c
parent1967913e9530139eb355b7b3108bb12314ba47da (diff)
downloadlibtdevnc-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.tar.gz
libtdevnc-d0ef1285b8fe0f8efd0e1d75fcfcbad175411e0f.zip
x11vnc: -8to24 speedups and improvements.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c3
1 files changed, 3 insertions, 0 deletions
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")) {