* Fix a bug where valid directories would be ignored and invalid ones
  would be accepted for profiles and themes.
* Fix a compilation fault when compiling in debug mode.
This commit is contained in:
jean.chalard
2009-12-17 17:29:24 +00:00
parent 92e7d8831b
commit 54791762b1
3 changed files with 34 additions and 38 deletions
+2 -2
View File
@@ -115,7 +115,7 @@ int MTGAllCards::processConfLine(string s, MTGCard *card){
card->setType( "Error");
#if defined (_DEBUG)
char buffer[4096];
sprintf(buffer, "MTGDECK: Bad Card Type in %s/_cards.dat:\n %s\n", setlist[card->setId], s.c_str());
sprintf(buffer, "MTGDECK: Bad Card Type in %s/_cards.dat:\n %s\n", setlist[card->setId].c_str(), s.c_str());
OutputDebugString(buffer);
#endif
break;
@@ -799,4 +799,4 @@ string MTGSetInfo::getBlock(){
return "None";
return setlist.blocks[block];
}
}