Kaydet (Commit) 9bb8ba4e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Typo: s/SEPERATOR/SEPARATOR

Thanks to Jürgen Funk for noticing, on
https://gerrit.libreoffice.org/#/c/13017/ .

Change-Id: Iff6225d658a9f5c7d3cd95b1f5b0b17606897d15
üst 41c99ab6
...@@ -35,7 +35,7 @@ extern "C" ...@@ -35,7 +35,7 @@ extern "C"
#define TARGET_LIB "lib" "sofficeapp" ".so" #define TARGET_LIB "lib" "sofficeapp" ".so"
#define TARGET_MERGED_LIB "lib" "mergedlo" ".so" #define TARGET_MERGED_LIB "lib" "mergedlo" ".so"
#endif #endif
#define SEPERATOR '/' #define SEPARATOR '/'
void *_dlopen(const char *pFN) void *_dlopen(const char *pFN)
{ {
...@@ -69,7 +69,7 @@ extern "C" ...@@ -69,7 +69,7 @@ extern "C"
#include <windows.h> #include <windows.h>
#define TARGET_LIB "sofficeapp" ".dll" #define TARGET_LIB "sofficeapp" ".dll"
#define TARGET_MERGED_LIB "mergedlo" ".dll" #define TARGET_MERGED_LIB "mergedlo" ".dll"
#define SEPERATOR '\\' #define SEPARATOR '\\'
#define UNOPATH "\\..\\URE\\bin" #define UNOPATH "\\..\\URE\\bin"
void *_dlopen(const char *pFN) void *_dlopen(const char *pFN)
...@@ -151,7 +151,7 @@ static LibreOfficeKit *lok_init( const char *install_path ) ...@@ -151,7 +151,7 @@ static LibreOfficeKit *lok_init( const char *install_path )
extendUnoPath(install_path); extendUnoPath(install_path);
imp_lib[partial_length++] = SEPERATOR; imp_lib[partial_length++] = SEPARATOR;
strcpy(imp_lib + partial_length, TARGET_LIB); strcpy(imp_lib + partial_length, TARGET_LIB);
dlhandle = _dlopen(imp_lib); dlhandle = _dlopen(imp_lib);
...@@ -186,6 +186,8 @@ static LibreOfficeKit *lok_init( const char *install_path ) ...@@ -186,6 +186,8 @@ static LibreOfficeKit *lok_init( const char *install_path )
return pSym( 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__) #endif // defined(__linux__) || defined (__FreeBSD_kernel__) || defined(_AIX) || defined(_WIN32) || defined(__APPLE__)
#ifdef __cplusplus #ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment