aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins/win32/win32-provider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/plugins/win32/win32-provider.cpp')
-rw-r--r--backends/plugins/win32/win32-provider.cpp12
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;
}