diff options
author | dscho <dscho> | 2004-08-30 15:45:58 +0000 |
---|---|---|
committer | dscho <dscho> | 2004-08-30 15:45:58 +0000 |
commit | 97299606daab079cd88a096308487341c113ccec (patch) | |
tree | d8f51cfacae63482f330ce20c07dc373c341e893 /vncterm/LinuxVNC.c | |
parent | 0d3b958b479e598b081b9848c34bb74aca9ee7fa (diff) | |
download | libtdevnc-97299606daab079cd88a096308487341c113ccec.tar.gz libtdevnc-97299606daab079cd88a096308487341c113ccec.zip |
global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
Diffstat (limited to 'vncterm/LinuxVNC.c')
-rw-r--r-- | vncterm/LinuxVNC.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vncterm/LinuxVNC.c b/vncterm/LinuxVNC.c index 7d32cde..0905e74 100644 --- a/vncterm/LinuxVNC.c +++ b/vncterm/LinuxVNC.c @@ -114,12 +114,12 @@ int main(int argc,char **argv) /* console init */ console=vcGetConsole(&argc,argv,width,height,&vgaFont,TRUE); for(i=0;i<16;i++) { - console->rfbScreen->colourMap.data.bytes[i*3+0]=default_red[color_table[i]]; - console->rfbScreen->colourMap.data.bytes[i*3+1]=default_grn[color_table[i]]; - console->rfbScreen->colourMap.data.bytes[i*3+2]=default_blu[color_table[i]]; + console->screen->colourMap.data.bytes[i*3+0]=default_red[color_table[i]]; + console->screen->colourMap.data.bytes[i*3+1]=default_grn[color_table[i]]; + console->screen->colourMap.data.bytes[i*3+2]=default_blu[color_table[i]]; } - console->rfbScreen->desktopName=title; - console->rfbScreen->kbdAddEvent=do_key; + console->screen->desktopName=title; + console->screen->kbdAddEvent=do_key; console->selectTimeOut=100000; console->wrapBottomToTop=TRUE; #ifdef USE_OLD_VCS |