aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-03-16 14:06:42 +1100
committerNeil <nyamatongwe@gmail.com>2021-03-16 14:06:42 +1100
commit3deead646f03e647c8eff2c024efdacfb5e54f37 (patch)
treea08d7c95c7b4e1764420dea34b30be62fbaad106
parentb05b84ecca0189c7fb5bdbbc0d18219ce79572b6 (diff)
downloadscintilla-mirror-3deead646f03e647c8eff2c024efdacfb5e54f37.tar.gz
Fix dlopen call.
-rw-r--r--doc/Scintilla5Migration.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Scintilla5Migration.html b/doc/Scintilla5Migration.html
index 97f019e62..3f8b916ee 100644
--- a/doc/Scintilla5Migration.html
+++ b/doc/Scintilla5Migration.html
@@ -187,7 +187,7 @@
<p>Load Lexilla using the appropriate operating system function: either LoadLibrary on Windows or
dlopen on Unix.</p>
<code class="windows">HMODULE lexillaLibrary = LoadLibrary(szLexillaPath);<br /></code>
- <code class="unix">void *lexillaLibrary = szLexillaPath(libPath, RTLD_LAZY);<br /></code>
+ <code class="unix">void *lexillaLibrary = dlopen(szLexillaPath, RTLD_LAZY);<br /></code>
<p>Find the CreateLexer function inside the shared library using either GetProcAddress on Windows or
dlsym on Unix.</p>
<code class="windows">FARPROC fun = GetProcAddress(lexillaLibrary, LEXILLA_CREATELEXER);<br /></code>