changed function name (exportCard -> includeCard), because it better describes what the function does.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1032 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-02 15:25:37 +00:00
parent b49966dc03
commit 6f8c1d1484
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ void ExportCardImages::exportImages(const SetP& set, wxFileName& fn, const Strin
// Export
std::set<String> used; // for CONFLICT_NUMBER_OVERWRITE
FOR_EACH(card, set->cards) {
if (exportCard(card)) {
if (includeCard(card)) {
// filename for this card
Context& ctx = set->getContext(card);
String filename = untag(ctx.eval(*filename_script)->toString());
@@ -121,7 +121,7 @@ void ImagesExportWindow::onOk(wxCommandEvent&) {
EndModal(wxID_OK);
}
bool ImagesExportWindow::exportCard(const CardP& card) const {
bool ImagesExportWindow::includeCard(const CardP& card) const {
return isSelected(card);
}