FindToolType
commitaaff080c4498c90d5af6127b5845fb4ee3a31390
authormazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 7 Nov 2008 17:24:08 +0000 (7 17:24 +0000)
committermazze <mazze@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 7 Nov 2008 17:24:08 +0000 (7 17:24 +0000)
treee3a819bf37e4dc310ce9a7d4901d7890eee3481a
parent59229a20f582fbf711326afe40041011faa3f409
FindToolType
~~~~~~~
Bugfix:
If the tooltype string in the icon wasn't followed by an "=" sign
the content after the "\0" was returned.
Now an empty string is returned in the following cases:
TOOLTYPE
TOOLTYPE=

Search is case-insensitive (checked on my AOS3.9 system)

MatchToolType
~~~~~~~~
Added a hint that search is case-insensitive

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@30006 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/icon/findtooltype.c
workbench/libs/icon/matchtoolvalue.c