revert own change: don't use memchr for strnlen, causes problems when the len is...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 16 Mar 2013 18:52:09 +0000 (18:52 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 16 Mar 2013 18:52:09 +0000 (18:52 +0000)
commit9e2db2dad4ee38036a28452039656594f73b4421
tree08c1ee02ad80ea240c8a2c6ced419babaeee2567
parent0fedc6e45bdcb2b159b9ab54267d70c0bb59dd72
revert own change: don't use memchr for strnlen, causes problems when the len is longer then the string data, instead use strnlen from freebsd.
also simplify empty string checks in logic_ops.c
source/blender/blenlib/intern/string.c
source/blender/editors/space_logic/logic_ops.c