ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/main_window.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/main_window.cpp (file contents):
Revision 397 by iritscen, Mon Jul 6 22:10:17 2009 UTC vs.
Revision 398 by gumby, Mon Jul 6 22:19:58 2009 UTC

# Line 286 | Line 286 | int globalizeData(void)
286                                                  else if (dir_itr->path().filename().substr(0,4) == "ONWC") { //fix for buggy ONWC overriding
287                                                                  cout <<dir_itr->path().filename() << "\n";
288  
289 <                                                                if(!exists( "packages/VanillaDats/level" + levels[i] + "_Final/level" + levels[i] + "_Final/" +  dir_itr->filename())) rename(dir_itr->path(), "packages/VanillaDats/level" + levels[i] + "_Final/level" + levels[i] + "_Final/" +  dir_itr->filename());
289 >                                                                if(!exists( "packages/VanillaDats/level0_Final/level0_Final/" +  dir_itr->filename())) rename(dir_itr->path(), "packages/VanillaDats/level0_Final/level0_Final/" +  dir_itr->filename());
290                                                                  else remove(dir_itr->path());
291                                                  }
292                                                  if (exists(dir_itr->path())) {
293  
294                                                  }
295                                                  else {
296 <                                                        //logfile << "\tMoved file: " << dir_itr->path().filename() << "\n";
296 >                                                        logfile << "\tMoved file: " << dir_itr->path().filename() << "\n";
297                                                  }
298                                          }
299  
# Line 377 | Line 377 | int globalizeData(void)
377                  //      while(1) Sleep(-1);
378  
379          }
380 <        catch (exception ex) {
380 >        catch (exception & ex) {
381                  setStatusArea("Warning, handled exception: " + (string)ex.what());
382          }
383  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)