mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 22:40:48 +00:00
* 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:
parent
cdfd43b2d4
commit
c0a86ff5ea
2 changed files with 8 additions and 1 deletions
|
@ -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>
|
2011-12-29 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||||
|
|
||||||
* Source/NSTextView.m(-initWithFrame:textContainer:,
|
* Source/NSTextView.m(-initWithFrame:textContainer:,
|
||||||
|
|
|
@ -940,7 +940,7 @@ scaleRect(NSRect rect, double scale)
|
||||||
{
|
{
|
||||||
int i, dir;
|
int i, dir;
|
||||||
BOOL knowsPageRange, allPages;
|
BOOL knowsPageRange, allPages;
|
||||||
NSRange viewPageRange;
|
NSRange viewPageRange = NSMakeRange(1, 0);
|
||||||
NSMutableDictionary *dict;
|
NSMutableDictionary *dict;
|
||||||
NSNumber *value;
|
NSNumber *value;
|
||||||
page_info_t info;
|
page_info_t info;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue