Ticket #1058: unix-no-root-2012-01-13.patch

File unix-no-root-2012-01-13.patch, 1.3 KB (added by leper, 13 years ago)

patch without the --really-run-as-root option; fixed whitespace change in previous version of this patch (same filename)

  • 0ad/source/main.cpp

     
    7373#include "scripting/ScriptingHost.h"
    7474#include "simulation2/Simulation2.h"
    7575
     76
     77
     78
     79
    7680extern bool g_GameRestarted;
    7781
    7882void kill_mainloop();
     
    433437{
    434438    CmdLineArgs args(argc, argv);
    435439
     440
     441
     442
     443
     444
     445
     446
     447
     448
     449
     450
     451
     452
     453
    436454    // We need to initialise libxml2 in the main thread before
    437455    // any thread uses it. So initialise it here before we
    438456    // might run Atlas.