git.ithinksw.org
/
ITFoundation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a8878f2
)
Fixing Alex's crazy tab hijinks.
author
Joseph Spiros
<joseph.spiros@ithinksw.com>
Thu, 31 Mar 2005 04:33:42 +0000
(
04:33
+0000)
committer
Joseph Spiros
<joseph.spiros@ithinksw.com>
Thu, 31 Mar 2005 04:33:42 +0000
(
04:33
+0000)
ITCarbonSupport.m
patch
|
blob
|
history
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 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