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 /examples/pnmshow.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 'examples/pnmshow.c')
-rw-r--r-- | examples/pnmshow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pnmshow.c b/examples/pnmshow.c index 99676d8..b40cf53 100644 --- a/examples/pnmshow.c +++ b/examples/pnmshow.c @@ -64,7 +64,7 @@ int main(int argc,char** argv) rfbScreen->desktopName = argv[1]; else rfbScreen->desktopName = "Picture"; - rfbScreen->rfbAlwaysShared = TRUE; + rfbScreen->alwaysShared = TRUE; rfbScreen->kbdAddEvent = HandleKey; /* enable http */ @@ -76,7 +76,7 @@ int main(int argc,char** argv) fclose(in); if(picType!=TRUECOLOUR) { - rfbScreen->rfbServerFormat.trueColour=FALSE; + rfbScreen->serverFormat.trueColour=FALSE; rfbScreen->colourMap.count=256; rfbScreen->colourMap.is16=FALSE; rfbScreen->colourMap.data.bytes=malloc(256*3); |