* Source/NSPrintOperation.m (_print): Fix read of uninitialized

variable, which was breaking printing of wrap-to-page mode in
TextEdit. TODO: Run the printing code through valgrind, there is
a lot of suspicious code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34373 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2011-12-31 22:37:55 +00:00
parent cdfd43b2d4
commit c0a86ff5ea
2 changed files with 8 additions and 1 deletions

View file

@ -940,7 +940,7 @@ scaleRect(NSRect rect, double scale)
{
int i, dir;
BOOL knowsPageRange, allPages;
NSRange viewPageRange;
NSRange viewPageRange = NSMakeRange(1, 0);
NSMutableDictionary *dict;
NSNumber *value;
page_info_t info;