repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix off-by-1 screen title fill
[AROS.git]
/
compiler
/
arossupport
/
libgettagdata.c
blob
bf5d64484ae897ea534e3da2a4ca699034e57216
1
#include <proto/arossupport.h>
2
3
IPTR
LibGetTagData
(
Tag tagValue
,
IPTR defaultVal
,
const struct
TagItem
*
tagList
)
4
{
5
struct
TagItem
*
tag
=
LibFindTagItem
(
tagValue
,
tagList
);
6
7
return
tag
?
tag
->
ti_Data
:
defaultVal
;
8
}