summaryrefslogtreecommitdiffstats
path: root/examples/pnmshow24.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pnmshow24.c')
-rw-r--r--examples/pnmshow24.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pnmshow24.c b/examples/pnmshow24.c
index 41e0335..bcee3e4 100644
--- a/examples/pnmshow24.c
+++ b/examples/pnmshow24.c
@@ -57,7 +57,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 */