aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncviewer
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-11 09:04:02 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-11 09:04:02 +0000
commita850e6419437cf41015a55083525327e58630114 (patch)
tree2132e2effb4d365d6a6e93ac22f5da4922d97e88 /win/vncviewer
parent36a93e5c629b1ac9011a4280a6ae9e1041d73a9d (diff)
downloadtigervnc-a850e6419437cf41015a55083525327e58630114.tar.gz
tigervnc-a850e6419437cf41015a55083525327e58630114.zip
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3380 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer')
-rw-r--r--win/vncviewer/CConnOptions.cxx36
1 files changed, 26 insertions, 10 deletions
diff --git a/win/vncviewer/CConnOptions.cxx b/win/vncviewer/CConnOptions.cxx
index 6069e952..bf9591b7 100644
--- a/win/vncviewer/CConnOptions.cxx
+++ b/win/vncviewer/CConnOptions.cxx
@@ -125,16 +125,32 @@ static IntParameter scale("Scale",
100);
CConnOptions::CConnOptions()
-: useLocalCursor(::useLocalCursor), useDesktopResize(::useDesktopResize),
-autoSelect(::autoSelect), fullColour(::fullColour), fullScreen(::fullScreen),
-shared(::sharedConnection), sendPtrEvents(::sendPtrEvents), sendKeyEvents(::sendKeyEvents),
-preferredEncoding(encodingZRLE), clientCutText(::clientCutText), serverCutText(::serverCutText),
-disableWinKeys(::disableWinKeys), protocol3_3(::protocol3_3), acceptBell(::acceptBell),
-lowColourLevel(::lowColourLevel), pointerEventInterval(ptrEventInterval),
-emulate3(::emulate3), monitor(::monitor.getData()), showToolbar(::showToolbar),
-customCompressLevel(::customCompressLevel), compressLevel(::compressLevel),
-noJpeg(::noJpeg), qualityLevel(::qualityLevel), passwordFile(::passwordFile.getData()),
-autoReconnect(::autoReconnect), autoScaling(::autoScaling), scale(::scale)
+: useLocalCursor (::useLocalCursor),
+useDesktopResize(::useDesktopResize),
+fullScreen(::fullScreen),
+fullColour(::fullColour),
+lowColourLevel(::lowColourLevel),
+preferredEncoding(encodingZRLE),
+autoSelect(::autoSelect),
+shared(::sharedConnection),
+sendPtrEvents(::sendPtrEvents),
+sendKeyEvents(::sendKeyEvents),
+showToolbar(::showToolbar),
+clientCutText(::clientCutText),
+serverCutText(::serverCutText),
+disableWinKeys(::disableWinKeys),
+emulate3(::emulate3),
+pointerEventInterval(ptrEventInterval),
+protocol3_3(::protocol3_3),
+acceptBell(::acceptBell),
+autoScaling(::autoScaling),
+scale(::scale),
+monitor(::monitor.getData()),
+autoReconnect(::autoReconnect),
+customCompressLevel(::customCompressLevel),
+compressLevel(::compressLevel),
+noJpeg(::noJpeg),
+qualityLevel(::qualityLevel)
{
if (autoSelect) {
preferredEncoding = encodingZRLE;