summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-18 00:12:03 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-10-18 00:12:03 +0000
commit435a058c703a63d24e6daa81baf4a607601e8efa (patch)
tree75cd0e6498c984690f391b7eda9fdf08f57ae54f
parent503c31a5a6f18eee48db2b03c5e960f1f2113baf (diff)
downloadpcsxr-435a058c703a63d24e6daa81baf4a607601e8efa.tar.gz
Uh, oops.
fixing a bug. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87546 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rwxr-xr-xmacosx/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/main.m b/macosx/main.m
index ab1707fa..a65bcd1d 100755
--- a/macosx/main.m
+++ b/macosx/main.m
@@ -143,7 +143,7 @@ static void AddStringToLogList(const char *themsg)
});
[theStr appendString:@(themsg)];
while ((newlineRange = [theStr rangeOfString:@"\n"]).location != NSNotFound) {
- NSString *tmpStr = [theStr substringFromIndex:newlineRange.location];
+ NSString *tmpStr = [theStr substringToIndex:newlineRange.location];
if (tmpStr && ![tmpStr isEqualToString:@""]) {
NSLog(@"%@", tmpStr);
}