Skip to content

Commit

Permalink
An attempt to fix #489
Browse files Browse the repository at this point in the history
  • Loading branch information
morevnaproject committed Feb 7, 2019
1 parent cc8b90e commit d75edc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions synfig-studio/src/gui/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,10 @@ App::App(const synfig::String& basepath, int *argc, char ***argv):
Glib::thread_init();

distance_system=Distance::SYSTEM_PIXELS;

#ifdef _WIN32
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX | SEM_NOOPENFILEERRORBOX);
#endif

if(mkdir(synfigapp::Main::get_user_app_directory().c_str(),ACCESSPERMS)<0)
{
Expand Down

0 comments on commit d75edc0

Please sign in to comment.