diff options
-rw-r--r-- | generic/tkMain.c | 6 | ||||
-rw-r--r-- | generic/tkText.c | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c index ccb624b..64eedb2 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -55,12 +55,6 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr; #include "tkMacOSXInt.h" #endif -/* - * Further on, in UNICODE mode we just use Tcl_NewUnicodeObj, otherwise - * NewNativeObj is needed (which provides proper conversion from native - * encoding to UTF-8). - */ - static inline Tcl_Obj * NewNativeObj( TCHAR *string) diff --git a/generic/tkText.c b/generic/tkText.c index f810010..33fa1d0 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -5402,11 +5402,6 @@ TextEditCmd( * appending several thousand lines, we could attempt to pre-allocate a * larger space). * - * Also the result is built up as a utf-8 string, but, if we knew we - * wanted it as Unicode, we could potentially save a huge conversion by - * building it up as Unicode directly. This could be as simple as - * replacing Tcl_NewObj by Tcl_NewUnicodeObj. - * * Results: * Tcl_Obj of string type containing the specified text. If the * visibleOnly flag is set to 1, then only those characters which are not |