summaryrefslogtreecommitdiff
path: root/source/LCDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/LCDriver.cpp')
-rw-r--r--source/LCDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/LCDriver.cpp b/source/LCDriver.cpp
index 0754e5e..9af739e 100644
--- a/source/LCDriver.cpp
+++ b/source/LCDriver.cpp
@@ -42,8 +42,8 @@ LCDRIVER_API int __cdecl Initialize(LCDContext *pContext, const char *InterfaceI
SwitchProtocolFamily(*pContext, R15_PROTOCOL_FAMILY);
SetMessageCallback(*pContext, Message_fn);
SetProgressCallback(*pContext, ProgressBar_fn);
-
- return StartContext(*pContext, Instance);
+ Result = StartContext(*pContext, Instance);
+ return Result;
} else {
return 0;
}