summaryrefslogtreecommitdiffstats
path: root/src/sound/DSSIPluginInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/DSSIPluginInstance.cpp')
-rw-r--r--src/sound/DSSIPluginInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/DSSIPluginInstance.cpp b/src/sound/DSSIPluginInstance.cpp
index 9f71629..df18b59 100644
--- a/src/sound/DSSIPluginInstance.cpp
+++ b/src/sound/DSSIPluginInstance.cpp
@@ -622,7 +622,7 @@ DSSIPluginInstance::activate()
}
}
- if (m_program) {
+ if (!m_program.isNull()) {
#ifdef DEBUG_DSSI
std::cerr << "DSSIPluginInstance::activate: restoring program " << m_program << std::endl;
#endif