diff options
| author | Teddy Wing | 2012-07-21 02:56:52 -0400 |
|---|---|---|
| committer | Teddy Wing | 2012-07-21 02:56:52 -0400 |
| commit | c9c600707c5df76a93ccfcd86fb03e97fcb09509 (patch) | |
| tree | 8ead820bb11240af54d8776cbaa6edf9637eabb6 | |
| parent | 2c617c86681ea1981be8d1a1dfd0d0a8293488c8 (diff) | |
| download | On-Task-c9c600707c5df76a93ccfcd86fb03e97fcb09509.tar.bz2 | |
Whoops, forgot to close the file.
| -rw-r--r-- | On Task.m | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ int main (int argc, const char * argv[]) { [log_f writeData:[[NSString stringWithString:@"\n"] dataUsingEncoding:NSUTF8StringEncoding]]; } [log_f writeData:[[date stringByAppendingString:@": "] dataUsingEncoding:NSUTF8StringEncoding]]; // Write date stamp + [log_f closeFile]; [[NSWorkspace sharedWorkspace] openFile:logPath withApplication:@"TextEdit"]; |
