diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-03-23 19:38:58 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-03-23 21:11:08 +0200 |
commit | 9bb8ba4e0640521253e2f5a4d476cad7777da079 (patch) | |
tree | 62116ee2054201b42a6f6f680df63b28f5fc5027 /include/LibreOfficeKit | |
parent | 41c99ab6308029c6eaae589efd4386e52ccb67e9 (diff) |
Typo: s/SEPERATOR/SEPARATOR
Thanks to Jürgen Funk for noticing, on
https://gerrit.libreoffice.org/#/c/13017/ .
Change-Id: Iff6225d658a9f5c7d3cd95b1f5b0b17606897d15
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitInit.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index 6f56c728def5..fe10cd9ffa1b 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -35,7 +35,7 @@ extern "C" #define TARGET_LIB "lib" "sofficeapp" ".so" #define TARGET_MERGED_LIB "lib" "mergedlo" ".so" #endif - #define SEPERATOR '/' + #define SEPARATOR '/' void *_dlopen(const char *pFN) { @@ -69,7 +69,7 @@ extern "C" #include <windows.h> #define TARGET_LIB "sofficeapp" ".dll" #define TARGET_MERGED_LIB "mergedlo" ".dll" - #define SEPERATOR '\\' + #define SEPARATOR '\\' #define UNOPATH "\\..\\URE\\bin" void *_dlopen(const char *pFN) @@ -151,7 +151,7 @@ static LibreOfficeKit *lok_init( const char *install_path ) extendUnoPath(install_path); - imp_lib[partial_length++] = SEPERATOR; + imp_lib[partial_length++] = SEPARATOR; strcpy(imp_lib + partial_length, TARGET_LIB); dlhandle = _dlopen(imp_lib); @@ -186,6 +186,8 @@ static LibreOfficeKit *lok_init( const char *install_path ) return pSym( install_path ); } +#undef SEPARATOR // It is used at least in enum class MenuItemType + #endif // defined(__linux__) || defined (__FreeBSD_kernel__) || defined(_AIX) || defined(_WIN32) || defined(__APPLE__) #ifdef __cplusplus |