diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-12-03 14:01:31 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-12-03 14:01:31 +0100 |
commit | c76bd2b4823db606db11c8e4b405c978daafdf5f (patch) | |
tree | 323bb0f7636c948bf6ce9e9543d6db7c8e769cd0 /vncviewer/CConn.cxx | |
parent | 744e55cbdf43c96c3f5b0fca49166553dcc7be7a (diff) | |
download | tigervnc-c76bd2b4823db606db11c8e4b405c978daafdf5f.tar.gz tigervnc-c76bd2b4823db606db11c8e4b405c978daafdf5f.zip |
Improve some error messages
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r-- | vncviewer/CConn.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index a7328476..cf4f31b9 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -430,15 +430,15 @@ void CConn::dataRect(const Rect& r, int encoding) if (!Decoder::supported(encoding)) { // TRANSLATORS: Refers to a VNC protocol encoding type - vlog.error(_("Unknown rect encoding %d"), encoding); - throw Exception(_("Unknown rect encoding")); + vlog.error(_("Unknown encoding %d"), encoding); + throw Exception(_("Unknown encoding")); } if (!decoders[encoding]) { decoders[encoding] = Decoder::createDecoder(encoding, this); if (!decoders[encoding]) { - vlog.error(_("Unknown rect encoding %d"), encoding); - throw Exception(_("Unknown rect encoding")); + vlog.error(_("Unknown encoding %d"), encoding); + throw Exception(_("Unknown encoding")); } } decoders[encoding]->readRect(r, desktop->getFramebuffer()); |