diff --git a/windows/filesystem.cpp b/windows/filesystem.cpp index 9d6e392..b30a33f 100644 --- a/windows/filesystem.cpp +++ b/windows/filesystem.cpp @@ -64,7 +64,7 @@ string FSLib::canonical( const string &path ) { bool FSLib::isDirectory( const string &path ) { struct _stat path_stat; - if( _wstat( path.c_str(), &path_stat ) != 0 ) + if ( _wstat( path.c_str(), &path_stat ) != 0 ) return false; return path_stat.st_mode & _S_IFDIR; diff --git a/windows/gui.cpp b/windows/gui.cpp index 45388ae..a0b0d98 100644 --- a/windows/gui.cpp +++ b/windows/gui.cpp @@ -1,7 +1,8 @@ -#include "mainwindow.hpp" #include "gui_functions.hpp" +#include "mainwindow.hpp" -int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR szCmdLine, int nCmdShow ) { +int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, + PWSTR szCmdLine, int nCmdShow ) { registerWindowClasses( hInstance ); MainWindow mw( hInstance, nCmdShow ); mw.mainLoop();