richedit: Cannot undo setting of default character format.
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 12 Jul 2008 00:06:05 +0000 (20:06 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Jul 2008 10:22:44 +0000 (12:22 +0200)
commite3efa88c456890308c08d29a1ecca3409789e653
treefce04f4efba618b1b847226cad8c1a8578e0af13
parent43ad427a15cbefcd24982781cab5dd099a168be3
richedit: Cannot undo setting of default character format.

This also reverts commit 2b52dd845097f16076c0185b02a003f63898dcab:
wordpad: Empty the richedit undo buffer on creation.

The reverted commit I created to fix an issue that only applied to Wine,
but it just masked the issue which was in richedit controls.  The
default character format was set in two places while wordpad was
starting up, and caused wordpad to have two undo items at startup.
dlls/riched20/editstr.h
dlls/riched20/list.c
dlls/riched20/run.c
dlls/riched20/tests/editor.c
dlls/riched20/undo.c
programs/wordpad/wordpad.c