mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18c6fddb3b
commit
7c4a87c2c0
53 changed files with 466 additions and 322 deletions
|
@ -347,17 +347,17 @@ static int ParseFile(const char *filename,NSMutableDictionary *tables)
|
|||
NSString *key,*comment,*table;
|
||||
|
||||
/* TODO: let user specify source file encoding */
|
||||
key=[NSString stringWithCString: args[lf->key_index]];
|
||||
key=[NSString stringWithCString: (char*)args[lf->key_index]];
|
||||
|
||||
if (lf->comment_index==-1 || !arg_len[lf->comment_index])
|
||||
comment=nil;
|
||||
else
|
||||
comment=[NSString stringWithCString: args[lf->comment_index]];
|
||||
comment=[NSString stringWithCString: (char*)args[lf->comment_index]];
|
||||
|
||||
if (lf->table_index==-1)
|
||||
table=@"Localizable"; /* TODO: customizable? */
|
||||
else
|
||||
table=[NSString stringWithCString: args[lf->table_index]];
|
||||
table=[NSString stringWithCString: (char*)args[lf->table_index]];
|
||||
|
||||
e=[[SourceEntry alloc] initWithKey: key comment: comment file: filenamestr line: cur_line];
|
||||
[tables addEntry: e toTable: table];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue