Changeset 167 for trunk/thune/make.c
- Timestamp:
- 06/04/06 04:58:45 (3 years ago)
- Files:
-
- 1 modified
-
trunk/thune/make.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/make.c
r166 r167 142 142 if( ur_stringSlice( cell, &cpA, &cpB ) ) 143 143 { 144 int count;145 144 int size; 146 145 UBinary* bin; 147 146 148 count = cpB - cpA; 149 size = count * ur_encCharSize( cell ); 147 size = cpB - cpA; 150 148 binN = ur_makeBinary( size ); 151 149 if( size ) … … 153 151 bin = ur_binPtr( binN ); 154 152 memCpy( bin->ptr.b, cpA, size ); 155 bin->used = count;153 bin->used = size; 156 154 } 157 155 }
