From 332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:23:44 +1000 Subject: The Formatting String Catastrophe --- source/base/StarAnimatedPartSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/base/StarAnimatedPartSet.cpp') diff --git a/source/base/StarAnimatedPartSet.cpp b/source/base/StarAnimatedPartSet.cpp index 62bf786..3f5d72a 100644 --- a/source/base/StarAnimatedPartSet.cpp +++ b/source/base/StarAnimatedPartSet.cpp @@ -231,7 +231,7 @@ AnimatedPartSet::AnimationMode AnimatedPartSet::stringToAnimationMode(String con } else if (string.equals("transition", String::CaseInsensitive)) { return Transition; } else { - throw AnimatedPartSetException(strf("No such AnimationMode '%s'", string)); + throw AnimatedPartSetException(strf("No such AnimationMode '{}'", string)); } } -- cgit v1.2.3