]> sigrok.org Git - pulseview.git/commitdiff
decoderstack.cpp: Improve two error messages a bit.
authorUwe Hermann <redacted>
Fri, 31 Jan 2014 00:04:36 +0000 (01:04 +0100)
committerUwe Hermann <redacted>
Fri, 31 Jan 2014 00:04:36 +0000 (01:04 +0100)
pv/data/decoderstack.cpp

index 9d80e9b300e26782cc7873d8876ceb6f1372e892..f08e349240571cabf18f64259ca205daaef8bcb1 100644 (file)
@@ -190,7 +190,7 @@ void DecoderStack::decode_proc(shared_ptr<data::Logic> data)
 
                if (!di)
                {
-                       _error_message = tr("Failed to initialise decoder");
+                       _error_message = tr("Failed to create decoder instance");
                        srd_session_destroy(session);
                        return;
                }
@@ -223,7 +223,7 @@ void DecoderStack::decode_proc(shared_ptr<data::Logic> data)
 
                if (srd_session_send(session, i, i + sample_count,
                                chunk, chunk_end - i) != SRD_OK) {
-                       _error_message = tr("Failed to initialise decoder");
+                       _error_message = tr("Decoder reported an error");
                        break;
                }