commit 7317f1e57d156543f4ce649b99b79c454eaa813f
parent 2177ad4f1d90039a2845dba2813ce202f8855cd7
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 1 May 2016 17:01:43 -0400
oops, fix b8e7c4dd3836ebe18fd13831addb0c2b760abe0f not building on OS X
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.cpp b/src/main.cpp
@@ -60,7 +60,7 @@ static bool loadAPI(void *(*getFunc)(const char *))
AUTO_STR("ReaPack v%s is incompatible with this version of REAPER.\r\n\r\n")
AUTO_STR("(Unable to import the following API function: %s)"),
make_autostring(ReaPack::VERSION).c_str(),
- make_autostring(func.name).c_str());
+ make_autostring(string(func.name)).c_str());
MessageBox(Splash_GetWnd ? Splash_GetWnd() : nullptr,
msg, AUTO_STR("ReaPack: Fatal Error"), MB_OK);