Windows: formatting

This commit is contained in:
zvon 2020-02-25 17:26:30 +01:00
parent 3201f8cece
commit d44db3943e
2 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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();