X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fdecode%2Fannotation.cpp;h=30efb5179dbaea65ee06d8a5bc2de5dadff8d4fe;hb=9a2bc5fcb8ad1e9c7885429609656316f9ad006b;hp=0005847655fcfbc77d1451c2cc0f7d232f54e7c4;hpb=a007f5ad25bad88cf62443d5471449ce8a6f5f29;p=pulseview.git diff --git a/pv/view/decode/annotation.cpp b/pv/view/decode/annotation.cpp index 0005847..30efb51 100644 --- a/pv/view/decode/annotation.cpp +++ b/pv/view/decode/annotation.cpp @@ -60,6 +60,8 @@ Annotation::Annotation(const srd_proto_data *const pdata) : (const srd_proto_data_annotation*)pdata->data; assert(pda); + _format = pda->ann_format; + const char *const *annotations = (char**)pda->ann_text; while(*annotations) { _annotations.push_back(QString(*annotations));