commit 1d57b59579fc497f89d80715f03db682e1096a22
parent fa3998b58ec65948e5ac4102cd0e7e0233bb1b91
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 25 Jun 2017 17:25:50 -0400
core: load Splash_GetWnd first
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp
@@ -35,6 +35,7 @@ static bool loadAPI(void *(*getFunc)(const char *))
struct ApiFunc { void **ptr; const char *name; bool required; };
const ApiFunc funcs[] = {
+ REQUIRED_API(Splash_GetWnd), // v4.7
REQUIRED_API(AddExtensionsMainMenu),
REQUIRED_API(GetAppVersion),
@@ -43,10 +44,8 @@ static bool loadAPI(void *(*getFunc)(const char *))
REQUIRED_API(NamedCommandLookup), // v3.1415
REQUIRED_API(plugin_register),
REQUIRED_API(ShowMessageBox),
- REQUIRED_API(Splash_GetWnd), // v4.7
OPTIONAL_API(AddRemoveReaScript), // v5.12
-
};
for(const ApiFunc &func : funcs) {