mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 11:41:05 +00:00
* GormCore/GormClassEditor.m
* GormCore/GormFilePrefsManager.m * Palettes/3Containers/GormBrowserAttributesInspector.m * Palettes/3Containers/GormTabViewAttributesInspector.m fix format strings git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@37255 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
66f31dd063
commit
6ef0a5f06a
5 changed files with 14 additions and 6 deletions
|
@ -1,3 +1,11 @@
|
|||
2013-10-19 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
|
||||
* GormCore/GormClassEditor.m
|
||||
* GormCore/GormFilePrefsManager.m
|
||||
* Palettes/3Containers/GormBrowserAttributesInspector.m
|
||||
* Palettes/3Containers/GormTabViewAttributesInspector.m
|
||||
fix format strings
|
||||
|
||||
2013-10-14 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Palettes/2Controls/GormNSMatrixInspector.gorm:
|
||||
|
|
|
@ -1065,12 +1065,12 @@ objectValueForTableColumn: (NSTableColumn *)aTableColumn
|
|||
}
|
||||
else if ([identifier isEqualToString: @"outlets"])
|
||||
{
|
||||
return [NSString stringWithFormat: @"%d",
|
||||
return [NSString stringWithFormat: @"%"PRIuPTR,
|
||||
[[classManager allOutletsForClassNamed: className] count]];
|
||||
}
|
||||
else if ([identifier isEqualToString: @"actions"])
|
||||
{
|
||||
return [NSString stringWithFormat: @"%d",
|
||||
return [NSString stringWithFormat: @"%"PRIuPTR,
|
||||
[[classManager allActionsForClassNamed: className] count]];
|
||||
}
|
||||
|
||||
|
|
|
@ -321,7 +321,7 @@ objectValueForTableColumn: (NSTableColumn *)aTableColumn
|
|||
|
||||
if([[aTableColumn identifier] isEqual: @"item"])
|
||||
{
|
||||
obj = [NSString stringWithFormat: @"#%d",rowIndex+1];
|
||||
obj = [NSString stringWithFormat: @"#%"PRIiPTR,rowIndex+1];
|
||||
}
|
||||
else if([[aTableColumn identifier] isEqual: @"description"])
|
||||
{
|
||||
|
|
|
@ -121,10 +121,10 @@
|
|||
[[tagForm cellAtIndex:0] setIntValue: [object tag]];
|
||||
|
||||
[minColumnWidthField setStringValue:
|
||||
[NSString stringWithFormat:@"%i",
|
||||
[NSString stringWithFormat:@"%f",
|
||||
[object minColumnWidth]]];
|
||||
[maxVisibleColumnsField setStringValue:
|
||||
[NSString stringWithFormat:@"%i",
|
||||
[NSString stringWithFormat:@"%"PRIiPTR,
|
||||
[object maxVisibleColumns]]];
|
||||
|
||||
[super revert:sender];
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
|
||||
if (newNumber <= 0)
|
||||
{
|
||||
[numberOfItemsField setStringValue:[NSString stringWithFormat:@"%i",[object numberOfTabViewItems]]];
|
||||
[numberOfItemsField setStringValue:[NSString stringWithFormat:@"%"PRIiPTR,[object numberOfTabViewItems]]];
|
||||
return;
|
||||
}
|
||||
if ( newNumber > [object numberOfTabViewItems] )
|
||||
|
|
Loading…
Reference in a new issue