Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and gives...
commit5f11a6119a2223fc7e3d81bc072fe64294fce39b
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 20 Oct 2009 00:09:16 +0000 (20 00:09 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Tue, 20 Oct 2009 00:09:16 +0000 (20 00:09 +0000)
treedb522f0b6d4c59b2d40e64d0bafb324acb8d0a26
parentdf60d5ddfd3068f5477c17ccc6587bf795d63dec
Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and gives a 1-3% speed up.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23284 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/lcd-bitmap-common.c