mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Fix small mistake when allocating memory for attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32536 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b402994bb
commit
ba8d2a150d
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ static NSUInteger _defaultBehavior = NSNumberFormatterBehavior10_4;
|
|||
internal->_style = NSNumberFormatterNoStyle;
|
||||
internal->_symbols = NSZoneCalloc (z, MAX_SYMBOLS, sizeof(id));
|
||||
internal->_textAttributes = NSZoneCalloc (z, MAX_TEXTATTRIBUTES, sizeof(id));
|
||||
internal->_attributes = NSZoneCalloc (z, MAX_ATTRIBUTES, sizeof(id));
|
||||
internal->_attributes = NSZoneCalloc (z, MAX_ATTRIBUTES, sizeof(int));
|
||||
if (!(internal->_symbols
|
||||
&& internal->_textAttributes
|
||||
&& internal->_attributes))
|
||||
|
|
Loading…
Reference in a new issue