From: Peter Åstrand Date: Thu, 11 Dec 2008 08:49:23 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~294 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=36a93e5c629b1ac9011a4280a6ae9e1041d73a9d;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3379 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/DesktopWindow.cxx b/win/vncviewer/DesktopWindow.cxx index 243d1b51..1793faa9 100644 --- a/win/vncviewer/DesktopWindow.cxx +++ b/win/vncviewer/DesktopWindow.cxx @@ -182,14 +182,14 @@ FrameClass frameClass; // DesktopWindow::DesktopWindow(Callback* cb) - : buffer(0), cursorImage(0), cursorMask(0), cursorWidth(0), cursorHeight(0), - internalSetCursor(false), showToolbar(false), autoScaling(false), - client_size(0, 0, 16, 16), window_size(0, 0, 32, 32), - cursorVisible(false), cursorAvailable(false), cursorInBuffer(false), - systemCursorVisible(true), trackingMouseLeave(false), - handle(0), frameHandle(0), has_focus(false), palette_changed(false), - fullscreenActive(false), fullscreenRestore(false), - bumpScroll(false), callback(cb) { + : bumpScroll(false), palette_changed(false), fullscreenActive(false), + fullscreenRestore(false), systemCursorVisible(true), trackingMouseLeave(false), + cursorInBuffer(false), cursorVisible(false), cursorAvailable(false), + internalSetCursor(false), cursorImage(0), cursorMask(0), + cursorWidth(0), cursorHeight(0), showToolbar(false), + buffer(0), has_focus(false), autoScaling(false), + window_size(0, 0, 32, 32), client_size(0, 0, 16, 16), handle(0), + frameHandle(0), callback(cb) { // Create the window const char* name = "DesktopWindow";