diff options
-rw-r--r-- | LispREPLController.m | 8 | ||||
-rw-r--r-- | NSException+LiDebugging.m | 22 |
2 files changed, 5 insertions, 25 deletions
diff --git a/LispREPLController.m b/LispREPLController.m index 889b9f1..d8a9f0e 100644 --- a/LispREPLController.m +++ b/LispREPLController.m @@ -575,12 +575,14 @@ enum repl_lock_condition { NO_DATA, HAS_DATA }; while ([theUpdates count] > 0) { NSAttributedString *replString; NSData *updateData; + NSString *updateStr; NSTextStorage *ts; updateData = [theUpdates objectAtIndex: 0]; - replString = [NSAttributedString attributedStringWithString: - [NSString stringWithCString: [updateData bytes] - length: [updateData length]] + updateStr = [[[NSString alloc] initWithBytes: [updateData bytes] + length: [updateData length] + encoding: NSUTF8StringEncoding] autorelease]; + replString = [NSAttributedString attributedStringWithString: updateStr attributes: [self REPLOutputAttributes]]; // Insert before values, and update marks. diff --git a/NSException+LiDebugging.m b/NSException+LiDebugging.m deleted file mode 100644 index a4addd4..0000000 --- a/NSException+LiDebugging.m +++ /dev/null @@ -1,22 +0,0 @@ -// -// NSException+LiDebugging.m -// Liaison -// -// Created by Brian Cully on Sun Sep 14 2003. -// Copyright (c) 2003 Brian Cully. All rights reserved. -// - -@interface LiException : NSException -@end - -@implementation LiException -+ (void)load -{ - [self poseAsClass: [NSException class]]; -} - -- (void)raise -{ - [super raise]; -} -@end |