diff options
author | runge <runge> | 2006-01-15 03:58:48 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-15 03:58:48 +0000 |
commit | 5993dd757e5af00af6565b3411ea10fd46eafbdf (patch) | |
tree | 7450fdde25310857c88221a719f026a1a09336f7 /x11vnc/tkx11vnc.h | |
parent | 60918e6664cd62ea3d71b48cdfda8b89ab82029c (diff) | |
download | libtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.tar.gz libtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.zip |
x11vnc: add -8to24 option for some multi-depth displays.
Diffstat (limited to 'x11vnc/tkx11vnc.h')
-rw-r--r-- | x11vnc/tkx11vnc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11vnc/tkx11vnc.h b/x11vnc/tkx11vnc.h index c5aedf8..37d4c6b 100644 --- a/x11vnc/tkx11vnc.h +++ b/x11vnc/tkx11vnc.h @@ -132,6 +132,7 @@ char gui_code[] = ""; " =GAL OverlayVisuals::\n" " overlay\n" " overlay_nocursor\n" +" 8to24\n" " =GAL LOFF\n" " =GAL 8-Bit-Color::\n" " flashcmap\n" @@ -1457,7 +1458,7 @@ char gui_code[] = ""; " if {! $sawopts} {\n" " continue;\n" " }\n" -" if {[regexp {^-([A-z_][A-z_]*)} $line match name]} {\n" +" if {[regexp {^-([0-9A-z_][0-9A-z_]*)} $line match name]} {\n" " set allnames($name) 1;\n" " if {\"$curropt\" != \"no$name\" && \"no$curropt\" != \"$name\"} {\n" " set curropt $name;\n" @@ -1536,7 +1537,7 @@ char gui_code[] = ""; " if {! $sawopts} {\n" " continue;\n" " }\n" -" if {[regexp {^([A-z_][A-z_:]*)} $line match name]} {\n" +" if {[regexp {^([0-9A-z_][0-9A-z_:]*)} $line match name]} {\n" " regsub {:.*$} $name \"\" popt\n" " lappend possopts $popt\n" " if {\"$curropt\" != \"no$name\" && \"no$curropt\" != \"$name\"} {\n" |