[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.126,2.127

M.-A. Lemburg lemburg@users.sourceforge.net
2002年2月06日 10:20:21 -0800


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv13272/Objects
Modified Files:
	unicodeobject.c 
Log Message:
Cosmetics.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.126
retrieving revision 2.127
diff -C2 -d -r2.126 -r2.127
*** unicodeobject.c	2002年02月06日 18:18:03	2.126
--- unicodeobject.c	2002年02月06日 18:20:19	2.127
***************
*** 1192,1197 ****
 
 else if (ch < 0x0800) {
! *p++ = 0xc0 | (ch >> 6);
! *p++ = 0x80 | (ch & 0x3f);
 cbWritten += 2;
 }
--- 1192,1197 ----
 
 else if (ch < 0x0800) {
! *p++ = (char)(0xc0 | (ch >> 6));
! *p++ = (char)(0x80 | (ch & 0x3f));
 cbWritten += 2;
 }
***************
*** 1231,1238 ****
 
 	 } else {
! 		*p++ = 0xf0 | (ch>>18);
! 		*p++ = 0x80 | ((ch>>12) & 0x3f);
! 		*p++ = 0x80 | ((ch>>6) & 0x3f);
! 		*p++ = 0x80 | (ch & 0x3f);
 		cbWritten += 4;
 	 }
--- 1231,1238 ----
 
 	 } else {
! 		*p++ = (char)(0xf0 | (ch>>18));
! 		*p++ = (char)(0x80 | ((ch>>12) & 0x3f));
! 		*p++ = (char)(0x80 | ((ch>>6) & 0x3f));
! 		*p++ = (char)(0x80 | (ch & 0x3f));
 		cbWritten += 4;
 	 }

AltStyle によって変換されたページ (->オリジナル) /