aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2009-10-22 16:52:34 -0400
committerBrian Cully <github.20.shmit@spamgourmet.com>2009-10-22 16:52:34 -0400
commit4f728be46b39caa908a1000b6f903fc4c4cb5ef4 (patch)
tree064fde0b62bbb09b1c6347334e8ae59fb33b4a60
parenta4b4c79c6eecd3749f51ee6e036171c42955fcd1 (diff)
downloadmoxie-4f728be46b39caa908a1000b6f903fc4c4cb5ef4.tar.gz
moxie-4f728be46b39caa908a1000b6f903fc4c4cb5ef4.zip
Update for 10.5
-rw-r--r--LispREPLController.m8
-rw-r--r--NSException+LiDebugging.m22
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