aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/PixelFormat.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2009-04-03 12:49:38 +0000
committerPierre Ossman <ossman@cendio.se>2009-04-03 12:49:38 +0000
commit430db3d48e1afbe050f3f1c791f49eed2471fa02 (patch)
tree56aba804d9bbd50918f025b7f590468ae3feef1a /common/rfb/PixelFormat.cxx
parent391c4fa9bba50564af40a53f6ca7aaae54ea247e (diff)
downloadtigervnc-430db3d48e1afbe050f3f1c791f49eed2471fa02.tar.gz
tigervnc-430db3d48e1afbe050f3f1c791f49eed2471fa02.zip
Update shift values in pixel format parse routine.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3748 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/PixelFormat.cxx')
-rw-r--r--common/rfb/PixelFormat.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/PixelFormat.cxx b/common/rfb/PixelFormat.cxx
index b00bc823..a106cf36 100644
--- a/common/rfb/PixelFormat.cxx
+++ b/common/rfb/PixelFormat.cxx
@@ -386,6 +386,9 @@ bool PixelFormat::parse(const char* str)
} else {
return false;
}
+
+ updateShifts();
+
return true;
}