wordpad: Properly save window rect on closing Min/Maximized windows.
commitfcaa59918189dd5f6ee872823479f80ab542561d
authorDylan Smith <dylan.ah.smith@gmail.com>
Thu, 3 Jul 2008 16:51:17 +0000 (3 12:51 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 4 Jul 2008 18:24:54 +0000 (4 20:24 +0200)
tree35b4dbc8743e3072ce94fb42430739c50ca4e6db
parent35ac3870415e5be9eb5294c1450d7104791ae132
wordpad: Properly save window rect on closing Min/Maximized windows.

Previously the window size and position was obtained in such a way that
when the window is closed while minimized, it would be hidden when the
program is started again.  Closing a maximized window would save the
size of the maximized window and use it as the normal/restored size when
the program is started again.
programs/wordpad/registry.c
programs/wordpad/wordpad.c
programs/wordpad/wordpad.h