commit 92d6cb1b45020e216821478c7b8258a59b4bcc47
parent 8d4a910d2466b4f6a39fdc2eb7104806381eb5c1
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sat, 1 Oct 2016 21:11:42 -0700
richedit: load Msftedit.dll only once, on startup
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/about.cpp b/src/about.cpp
@@ -43,7 +43,6 @@ enum { ACTION_ABOUT_PKG = 300, ACTION_FIND_IN_BROWSER, ACTION_COPY_URL };
About::About() : Dialog(IDD_ABOUT_DIALOG)
{
- RichEdit::Init();
}
void About::onInit()
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -27,6 +27,7 @@
#include "progress.hpp"
#include "query.hpp"
#include "report.hpp"
+#include "richedit.hpp"
#include "transaction.hpp"
#include <reaper_plugin_functions.h>
@@ -80,6 +81,7 @@ ReaPack::ReaPack(REAPER_PLUGIN_HINSTANCE instance)
m_useRootPath = new UseRootPath(resourcePath());
Download::Init();
+ RichEdit::Init();
FS::mkdir(Path::CACHE);