mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
fix last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30737 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21cc7900a3
commit
8da4b69f43
1 changed files with 6 additions and 3 deletions
|
@ -2955,7 +2955,8 @@ warningFunction(void *ctx, const unsigned char *msg, ...)
|
|||
int colNumber = -1;
|
||||
|
||||
va_start(args, msg);
|
||||
estr = [NSString stringWithFormat: UTF8Str(msg) arguments: args];
|
||||
estr = [[[NSString alloc]
|
||||
initWithFormat: UTF8Str(msg) arguments: args] autorelease];
|
||||
va_end(args);
|
||||
|
||||
NSCAssert(ctx,@"No Context");
|
||||
|
@ -2975,7 +2976,8 @@ errorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
int colNumber = -1;
|
||||
|
||||
va_start(args, msg);
|
||||
estr = [NSString stringWithFormat: UTF8Str(msg) arguments: args];
|
||||
estr = [[[NSString alloc]
|
||||
initWithFormat: UTF8Str(msg) arguments: args] autorelease];
|
||||
va_end(args);
|
||||
NSCAssert(ctx,@"No Context");
|
||||
lineNumber = xmlSAX2GetLineNumber(ctx);
|
||||
|
@ -2994,7 +2996,8 @@ fatalErrorFunction(void *ctx, const unsigned char *msg, ...)
|
|||
int colNumber = -1;
|
||||
|
||||
va_start(args, msg);
|
||||
estr = [NSString stringWithFormat: UTF8Str(msg) arguments: args];
|
||||
estr = [[[NSString alloc]
|
||||
initWithFormat: UTF8Str(msg) arguments: args] autorelease];
|
||||
va_end(args);
|
||||
NSCAssert(ctx, @"No Context");
|
||||
lineNumber = xmlSAX2GetLineNumber(ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue