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

Comparing AE/Installer/trunk/source/subs.cpp (file contents):
Revision 308 by iritscen, Sat May 2 22:24:03 2009 UTC vs.
Revision 309 by iritscen, Sat May 2 23:47:33 2009 UTC

# Line 453 | Line 453 | ModPackage fileToModPackage(fstream &fil
453                                  iter++; iter++;  
454                                  if (toupper((*iter)[0]) + toupper((*iter)[1]) + toupper((*iter)[2]) == 'Y' + 'E' + 'S') package.hasOnis = 1; //Gotta love c++'s lack of a standard case-insensitive
455                                  else if (!HasBSL.compare(*iter)) { // string comparer...I know my implementation here sucks. I need to change it to check each character one by one. At the moment,
456 <                                        iter++; iter++;  // using "YFR" would probably set it off. :<
456 >                                iter++; iter++;}  // using "YFR" would probably set it off. :<
457  
458                                  if (toupper((*iter)[0]) + toupper((*iter)[1]) + toupper((*iter)[2]) == 'Y' + 'E' + 'S') package.hasBSL = 1;
459                          }

Diff Legend

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