From 4ff9cb0b7693cb1c7964b303706a83abae2357a5 Mon Sep 17 00:00:00 2001 From: stanton Date: Fri, 28 May 1999 23:02:33 +0000 Subject: * generic/tclObj.c: Changed to eliminate use of isupper/tolower in favor of the Unicode versions. --- generic/tclObj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/tclObj.c b/generic/tclObj.c index d44b520..f1858f8 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclObj.c,v 1.6 1999/04/28 17:06:06 stanton Exp $ + * RCS: @(#) $Id: tclObj.c,v 1.7 1999/05/28 23:02:33 stanton Exp $ */ #include "tclInt.h" @@ -1024,8 +1024,8 @@ SetBooleanFromAny(interp, objPtr) if (c & 0x80) { goto badBoolean; } - if (isupper(UCHAR(c))) { /* INTL: ISO only. */ - c = (char) UCHAR(tolower(UCHAR(c))); /* INTL: ISO only. */ + if (Tcl_UniCharIsUpper(UCHAR(c))) { + c = (char) Tcl_UniCharToLower(UCHAR(c)); } lowerCase[i] = c; } -- cgit v0.12