The R Project SVN R-packages

Rev

Rev 8070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8070 Rev 8072
Line 118... Line 118...
118
			/* it is actually 4 but for safety include a fall-back ... */
118
			/* it is actually 4 but for safety include a fall-back ... */
119
			if (sizeOfNSGlyph == 4)
119
			if (sizeOfNSGlyph == 4)
120
				memset_pattern4(buffer + nullStart, &nullGlyph, sizeOfNSGlyph * nullLength);
120
				memset_pattern4(buffer + nullStart, &nullGlyph, sizeOfNSGlyph * nullLength);
121
			else {
121
			else {
122
				size_t i = nullStart;
122
				size_t i = nullStart;
123
				while (i < nullLength) buffer[i++] = nullGlyph;
123
				while (i < nullEnd) buffer[i++] = nullGlyph;
124
			}
124
			}
125
			/* the first glyph just after the { (position 1) is the visible glyph */
125
			/* the first glyph just after the { (position 1) is the visible glyph */
126
			NSInteger ctrlLocation = effectiveRange.location + 1 - charIndex;
126
			NSInteger ctrlLocation = effectiveRange.location + 1 - charIndex;
127
			if (ctrlLocation >= 0 && ctrlLocation < length)
127
			if (ctrlLocation >= 0 && ctrlLocation < length)
128
				buffer[ctrlLocation] = NSControlGlyph;
128
				buffer[ctrlLocation] = NSControlGlyph;