changeset 642:92ad94dee103

Minor warning text fix
author Chris Cannam
date Tue, 08 Jan 2019 15:19:03 +0000
parents dfec6c96007d
children 713b9a6b284a
files audio/AudioCallbackRecordTarget.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/audio/AudioCallbackRecordTarget.cpp	Fri Jan 04 15:23:53 2019 +0000
+++ b/audio/AudioCallbackRecordTarget.cpp	Tue Jan 08 15:19:03 2019 +0000
@@ -234,8 +234,8 @@
 #endif
         m_model = 0;
         m_recording = false;
-    } else {
-        SVCERR << "WARNING: AudioCallbackRecordTarget::modelAboutToBeDeleted: ths is not my model!" << endl;
+    } else if (m_model) {
+        SVCERR << "WARNING: AudioCallbackRecordTarget::modelAboutToBeDeleted: this is not my model!" << endl;
     }
 }