From: Uwe Hermann Date: Fri, 31 Jan 2014 00:04:36 +0000 (+0100) Subject: decoderstack.cpp: Improve two error messages a bit. X-Git-Tag: pulseview-0.2.0~101 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8a290daf90a91c998217f34a695a2dad41ea73e1;p=pulseview.git decoderstack.cpp: Improve two error messages a bit. --- diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 9d80e9b3..f08e3492 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -190,7 +190,7 @@ void DecoderStack::decode_proc(shared_ptr 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) 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; }