Commit Graph

17 Commits

Author SHA1 Message Date
Huw Davies 9b701eb7eb wordpad: Only read up to the maximum number of recent files from the menu.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 20:48:18 +09:00
Michael Stefaniuc 8e05ddb1f8 wordpad: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-04 11:02:50 +09:00
Thomas Faber f07a25467f wordpad: Remove superfluous check in registry_set_filelist.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:12:51 +09:00
Nikolay Sivov fde563b0d4 wordpad: Use correct buffer size when calling SHGetFolderPathW() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-14 13:14:10 +09:00
Gerald Pfeifer c7482ad1c1 wordpad: Avoid an out-of-bounds array access in registry_set_filelist. 2014-12-31 21:12:46 +01:00
Gerald Pfeifer 1994140f3d wordpad: Check for array index before using it in registry_set_filelist. 2014-12-01 11:00:15 +01:00
Dylan Smith c37cdce905 wordpad: Save and load word wrap registry options. 2010-07-20 13:13:04 +02:00
Dylan Smith 3355be3e5d wordpad: Number of preview pages to show when unzoomed is persistent.
Either one or two pages may be shown in print preview when zoomed out.
This value is stored in the registry in native wordpad, and preserved
while opening and closing the print preview.  Zooming in will only show one
page, but the pages shown value must be saved because it will return to the
preview pages shown value after unzooming completely. If two pages should
be shown when there is only one page of text, then a second blank page is
shown.
2010-02-24 15:12:30 +01:00
Andrey Turkin 71c01bb974 wordpad: Do not try to close uninitialized handles. 2008-10-15 12:21:59 +02:00
Dylan Smith f124a586d4 wordpad: Added option to disable word wrap. 2008-10-14 13:41:55 +02:00
Andrey Turkin fbfb165d56 wordpad: Fix some compile-time warnings. 2008-10-10 14:13:07 +02:00
Dylan Smith fcaa599181 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.
2008-07-04 20:24:54 +02:00
Dylan Smith 8769e706cc wordpad: Fixed a bug in setting the recent file list in the registry. 2008-06-20 12:34:57 +02:00
Dmitry Timoshkov 2c8476a078 wordpad: Fix Win64 warnings. 2008-04-09 16:27:20 +02:00
Marcus Meissner fa6937f4a5 wordpad: Remove condition that never triggers. 2008-02-04 11:13:26 +01:00
Alexandre Julliard c7278c21bd wordpad: Fix invalid pointer usage. 2007-12-12 22:32:38 +01:00
Alexander Nicolaysen Sørnes 7f03c2f5bd wordpad: Move registry functions to a separate file. 2007-12-12 13:49:07 +01:00