]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/console/console.cpp
Fix out of bounds string access in wxMSW wxDirDialog.
[wxWidgets.git] / samples / console / console.cpp
index b8b624de18a5499b9fab2627994f19e9bd24d6ad..9a4f4a3b2c0ccec8890f7c187154b276005ee542 100644 (file)
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
+
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
+
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
@@ -80,7 +80,7 @@ int main(int argc, char **argv)
 
                     // kill the last '\n'
                     input[wxStrlen(input) - 1] = 0;
-                    
+
                     if (wxStrcmp(input, "quit") == 0)
                         break;