mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Updated copyright information (2009 + my real name)
MSE now handles opening more gracefully - can handle directories and failures Changed behavior to always save cards to separate files with intent to add VCS later (note: shouldn't do this for zip, but can't see a good way to approach this) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1388 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//+----------------------------------------------------------------------------+
|
||||
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
||||
//| Copyright: (C) 2001 - 2008 Twan van Laarhoven and "coppro" |
|
||||
//| Copyright: (C) 2001 - 2009 Twan van Laarhoven and Sean Hunt |
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
@@ -245,12 +245,7 @@ String Package::nameOut(const String& file) {
|
||||
// new file
|
||||
it = addFile(name);
|
||||
}
|
||||
// New files should automatically be kept
|
||||
// NOTE: coppro discovered that this didn't match comments in
|
||||
// package.hpp. He could be wrong about this. Please change this
|
||||
// back and add a call to referenceFile in Set::reflect_cards if
|
||||
// this is wrong.
|
||||
it->second.keep = true;
|
||||
|
||||
// return stream
|
||||
if (it->second.wasWritten()) {
|
||||
return it->second.tempName;
|
||||
|
||||
Reference in New Issue
Block a user