diff options
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); |