projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a9065
)
Fixed initialization of Annotation::_format field
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 3 Dec 2013 13:15:54 +0000
(13:15 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Tue, 3 Dec 2013 13:15:54 +0000
(13:15 +0000)
pv/view/decode/annotation.cpp
patch
|
blob
|
history
diff --git
a/pv/view/decode/annotation.cpp
b/pv/view/decode/annotation.cpp
index 0005847655fcfbc77d1451c2cc0f7d232f54e7c4..30efb5179dbaea65ee06d8a5bc2de5dadff8d4fe 100644
(file)
--- 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));