mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
MSE can now save cards in separate files (needs manual config editing still).
Trailing slashes are stripped from commandline arguments (because directory.mse-set/ should be accepted) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1386 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -245,6 +245,12 @@ 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