diff options
author | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
commit | 66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (patch) | |
tree | e27aadabecd8dd910884280e6559ff9c94c3d73c /backends/plugins/win32 | |
parent | 278857698dc7b1623096fe1ad12511dc4c886c7e (diff) | |
download | scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.gz scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.bz2 scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.zip |
Removed trailing spaces.
svn-id: r30664
Diffstat (limited to 'backends/plugins/win32')
-rw-r--r-- | backends/plugins/win32/win32-provider.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp index e20256cd82..170ce15e3e 100644 --- a/backends/plugins/win32/win32-provider.cpp +++ b/backends/plugins/win32/win32-provider.cpp @@ -61,7 +61,7 @@ protected: #endif if (!func) debug("Failed loading symbol '%s' from plugin '%s'", symbol, _filename.c_str()); - + // FIXME HACK: This is a HACK to circumvent a clash between the ISO C++ // standard and POSIX: ISO C++ disallows casting between function pointers // and data pointers, but dlsym always returns a void pointer. For details, @@ -84,7 +84,7 @@ public: if (!_filename.hasSuffix("scummvm.dll")) // skip loading the core scummvm module _dlHandle = LoadLibrary(toUnicode(_filename.c_str())); #endif - + if (!_dlHandle) { debug("Failed loading plugin '%s' (error code %d)", _filename.c_str(), (int32) GetLastError()); return false; @@ -114,8 +114,8 @@ Win32PluginProvider::~Win32PluginProvider() { PluginList Win32PluginProvider::getPlugins() { PluginList pl; - - + + // Load dynamic plugins // TODO... this is right now just a nasty hack. // This should search one or multiple directories for all plugins it can @@ -145,8 +145,8 @@ PluginList Win32PluginProvider::getPlugins() { pl.push_back(new Win32Plugin(i->getPath())); } } - - + + return pl; } |