mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:47:39 +00:00
A bunch of format string fixes and some casts to force formats
No objections from Fred Kiefer ;) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38569 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18910829e4
commit
6d5a0cc236
11 changed files with 64 additions and 52 deletions
|
@ -462,9 +462,9 @@ static NSPrintPanel *shared_instance = nil;
|
|||
else
|
||||
{
|
||||
NSString *str;
|
||||
str = [NSString stringWithFormat: @"%d", _pages.location];
|
||||
str = [NSString stringWithFormat: @"%lu", (unsigned long) _pages.location];
|
||||
[[fromRangeForm cellAtIndex: 0] setStringValue: str];
|
||||
str = [NSString stringWithFormat: @"%d", NSMaxRange(_pages)-1];
|
||||
str = [NSString stringWithFormat: @"%lu", (unsigned long) NSMaxRange(_pages)-1];
|
||||
[[toRangeForm cellAtIndex: 0] setStringValue: str];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue