* 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:
Eric Wasylishen 2011-12-31 22:37:55 +00:00
parent cc31ecbeda
commit 4eac748b62
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2011-12-31 Eric Wasylishen <ewasylishen@gmail.com>
* 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.
2011-12-29 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTextView.m(-initWithFrame:textContainer:,

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;