diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/encperf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx index 1703efd1..f8b2555f 100644 --- a/tests/encperf.cxx +++ b/tests/encperf.cxx @@ -180,7 +180,7 @@ CConn::CConn(const char *filename) setDesktopSize(width, height); sc = new SConn(); - sc->cp.setPF((bool)translate ? fbPF : pf); + sc->client.setPF((bool)translate ? fbPF : pf); sc->setEncodings(sizeof(encodings) / sizeof(*encodings), encodings); } @@ -290,7 +290,7 @@ SConn::SConn() out = new DummyOutStream; setStreams(NULL, out); - setWriter(new rfb::SMsgWriter(&cp, out)); + setWriter(new rfb::SMsgWriter(&client, out)); manager = new Manager(this); } |