Use strlcpy instead of a memset&strcpy combo. Guarantees \0-terminaltion and gives...
commit12d9d64b504d01b23eeda999820163f54fdf4fd7
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
parentdb7a9a9654bb5048f3f053aaf582bbb54d9e04ba
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