150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
[_lines release];
[super dealloc];
}
- (void)of_parseLine: (OFString *)line
{
if (![line hasPrefix: @";"]) {
OFINISectionPair *pair;
OFString *key, *value;
size_t pos;
pair = [[[OFINISectionPair alloc] init] autorelease];
if ((pos = [line rangeOfString: @"="].location) == OFNotFound)
|
|
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
[_lines release];
[super dealloc];
}
- (void)of_parseLine: (OFString *)line
{
if (![line hasPrefix: @";"] && ![line hasPrefix: @"#"]) {
OFINISectionPair *pair;
OFString *key, *value;
size_t pos;
pair = [[[OFINISectionPair alloc] init] autorelease];
if ((pos = [line rangeOfString: @"="].location) == OFNotFound)
|