From d44db3943eeabad1fbebec574043f5acd80fe303 Mon Sep 17 00:00:00 2001 From: zvon Date: Tue, 25 Feb 2020 17:26:30 +0100 Subject: [PATCH] Windows: formatting --- windows/filesystem.cpp | 2 +- windows/gui.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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();