Patch for X11 touch initialisation segfault

Hi,

find attached a fix for a NULL pointer segfault on X11, which can occur,
if the underlying system does not have /proc/ mounted.
The patch applies to rev. 6303.

Regards
Marcus
-------------- next part --------------
A non-text attachment was scrubbed…
Name: x11touch.patch
Type: text/x-diff
Size: 334 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120317/1f3bbc06/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120317/1f3bbc06/attachment.pgp