mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
More warnings/minor fixes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@836 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -328,7 +328,7 @@ void CombiningModeAction::perform(bool to_undo) {
|
||||
|
||||
SymbolPartNameAction::SymbolPartNameAction(const SymbolPartP& part, const String& name, size_t old_cursor, size_t new_cursor)
|
||||
: part(part), part_name(name)
|
||||
, new_cursor(old_cursor), old_cursor(new_cursor) // will be swapped
|
||||
, old_cursor(new_cursor), new_cursor(old_cursor) // will be swapped
|
||||
{}
|
||||
|
||||
String SymbolPartNameAction::getName(bool to_undo) const {
|
||||
|
||||
@@ -35,7 +35,7 @@ DECLARE_POINTER_TYPE(PackageChoiceValue);
|
||||
/// An Action the changes a Value
|
||||
class ValueAction : public Action {
|
||||
public:
|
||||
inline ValueAction(const Card* card, const ValueP& value) : card(card), valueP(value) {}
|
||||
inline ValueAction(const Card* card, const ValueP& value) : valueP(value), card(card) {}
|
||||
|
||||
virtual String getName(bool to_undo) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user