diff --git a/source/Command.hpp b/source/Command.hpp index 42d42a59..85e0884a 100644 --- a/source/Command.hpp +++ b/source/Command.hpp @@ -1290,11 +1290,11 @@ public: // Assign the specifier, if any if (spec) { - m_Spec.clear(); + m_Spec.assign(spec); } else { - m_Spec.assign(spec); + m_Spec.clear(); } }