text editor: Return pointer to buffer but position in buffer for ACTION_GET to simpif...
commitdb033ec416a93fbf14e0e5505bf405becaa60f89
authorteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Fri, 4 Dec 2009 12:53:14 +0000 (4 12:53 +0000)
committerteru <teru@a1c6a512-1295-4272-9138-f99709370657>
Fri, 4 Dec 2009 12:53:14 +0000 (4 12:53 +0000)
tree57427955df233d33d18f37218f40ff47ca3c6a88
parent5756b1d6049b03deaa0eaeb721b012d32aeaef62
text editor: Return pointer to buffer but position in buffer for ACTION_GET to simpify code.
Use strlcpy instead of strcpy to prevent buffer overflow.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23845 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/text_editor.c