git.ithinksw.org
/
ITFoundation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing Alex's crazy tab hijinks.
[ITFoundation.git]
/
ITCarbonSupport.m
diff --git
a/ITCarbonSupport.m
b/ITCarbonSupport.m
index
3995a65
..
31d25cd
100644
(file)
--- a/
ITCarbonSupport.m
+++ b/
ITCarbonSupport.m
@@
-6,11
+6,11
@@
NSString *NSStringFromFourCharCode(unsigned long code) {
unsigned long FourCharCodeFromNSString(NSString *string) {
const unsigned char *c_s = [string UTF8String];
unsigned long FourCharCodeFromNSString(NSString *string) {
const unsigned char *c_s = [string UTF8String];
- unsigned long tmp = *c_s++;
- tmp <<= 8;
- tmp |= *c_s++;
- tmp <<= 8;
- tmp |= *c_s++;
- tmp <<= 8;
- return tmp |= *c_s++;
+
unsigned long tmp = *c_s++;
+
tmp <<= 8;
+
tmp |= *c_s++;
+
tmp <<= 8;
+
tmp |= *c_s++;
+
tmp <<= 8;
+
return tmp |= *c_s++;
}
\ No newline at end of file
}
\ No newline at end of file