Ticket #2427: 2427.3.patch
File 2427.3.patch, 1.6 KB (added by , 10 years ago) |
---|
-
source/lib/sysdep/os/osx/dir_watch.cpp
1 /* Copyright (c) 201 3Wildfire Games1 /* Copyright (c) 2014 Wildfire Games 2 2 * 3 3 * Permission is hereby granted, free of charge, to any person obtaining 4 4 * a copy of this software and associated documentation files (the … … 188 188 { 189 189 if ( g_Stream == NULL ) 190 190 { 191 g_Stream = CreateEventStream( g_RootPaths ); 191 if (!g_RootPaths.empty()) 192 { 193 g_Stream = CreateEventStream( g_RootPaths ); 194 } 192 195 } 193 196 else 194 197 { -
source/tools/atlas/AtlasUI/Misc/DLLInterface.cpp
1 /* Copyright (C) 201 2Wildfire Games.1 /* Copyright (C) 2014 Wildfire Games. 2 2 * This file is part of 0 A.D. 3 3 * 4 4 * 0 A.D. is free software: you can redistribute it and/or modify … … 144 144 int argc = 1; 145 145 char atlas[] = "atlas"; 146 146 char *argv[] = {atlas, NULL}; 147 wxEntry(argc, argv); 147 148 wxEntryStart(argc, argv); 149 wxTheApp->OnInit(); 150 151 wxTheApp->OnRun(); 152 wxTheApp->OnExit(); 153 154 wxEntryCleanup(); 155 148 156 #endif 149 157 } 150 158 … … 174 182 class AtlasDLLApp : public wxApp 175 183 { 176 184 public: 177 185 virtual bool OSXIsGUIApplication() 186 { 187 return false; 188 } 178 189 virtual bool OnInit() 179 190 { 180 191 // _CrtSetBreakAlloc(5632);