projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
comet2monitorのテストを追加
[YACASL2.git]
/
src
/
label.c
diff --git
a/src/label.c
b/src/label.c
index
f69bd45
..
9d34f77
100644
(file)
--- a/
src/label.c
+++ b/
src/label.c
@@
-147,7
+147,7
@@
void printlabel()
}
qsort(l, s, sizeof(*l), compare_adr);
for(i = 0; i < s; i++) {
- if(
*(l[i]->prog)
) {
+ if(
l[i]->prog[0]
) {
fprintf(stdout, "%s.", l[i]->prog);
}
fprintf(stdout, "%s ---> #%04X\n", l[i]->label, l[i]->adr);