Use memcpy instead of strndup() as we know the length of the string.
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 Jan 2011 09:17:54 +0000 (09:17 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 Jan 2011 09:17:54 +0000 (09:17 +0000)
commitefe45cc0d0ad91ce195930c077972eba114e1656
tree45b7f53918092492e0b8682b42359963c2f59df7
parent3ef4caa062f0991fb5c211b9320e4ad7a0b88c17
Use memcpy instead of strndup() as we know the length of the string.
Also fixes compilation on Mac OS X where strndup() is not defined.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@56341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_x/xlib/ecore_x_randr_12.c