Windows: formatting
This commit is contained in:
parent
3201f8cece
commit
d44db3943e
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user