]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/sockmsw.cpp
Don't try to pop from an empty stack in wxGDIPlusContext::PopState().
[wxWidgets.git] / src / msw / sockmsw.cpp
index 998bc1118e1ccbb186d8956d650502644a7075a9..d531813ca68a8c940e147c1485246a67b9b416b3 100644 (file)
@@ -7,7 +7,7 @@
 //             (C) 1999-2000, Guillermo Rodriguez Garcia
 //             (C) 2008 Vadim Zeitlin
 // RCS_ID:     $Id$
-// License:    wxWindows licence
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -347,7 +347,7 @@ LRESULT CALLBACK wxSocket_Internal_WinProc(HWND hWnd,
                 // only then). Ignore such dummy notifications.
                 {
                     fd_set fds;
-                    timeval tv = { 0 };
+                    timeval tv = { 0, 0 };
 
                     wxFD_ZERO(&fds);
                     wxFD_SET(socket->m_fd, &fds);