richedit: Fixed a bug preventing NULL pointers from being in text.
commit6d76d4371829143acede26018913af952f8976b2
authorDylan Smith <dylan.ah.smith@gmail.com>
Wed, 25 Jun 2008 15:33:26 +0000 (25 11:33 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 26 Jun 2008 19:16:56 +0000 (26 21:16 +0200)
treef4440148c15b754cded91d34b8c7cb3cc6f068a8
parentba747f4514a7d5bcc70bf6ea592c53cabe09770d
richedit: Fixed a bug preventing NULL pointers from being in text.

Opening a text file with a NULL terminated character in it was causing
an assertion error after a run was being split due to word wrap.
Windows allows NULL terminated characters to be in the text.
dlls/riched20/editor.c
dlls/riched20/string.c
dlls/riched20/tests/editor.c