diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index ac74c0ea7e..dfc677d70a 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -62,10 +62,8 @@ bool InputConfig::LoadConfig(bool isGC) if (profiles.empty()) { - const std::string error = - "No profiles found for game setting '" + profile_setting + "'"; // TODO: PanicAlert shouldn't be used for this. - PanicAlertT("%s", error.c_str()); + PanicAlertT("No profiles found for game setting '%s'", profile_setting.c_str()); continue; }