summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-19 21:40:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-19 21:40:18 (GMT)
commitcd709aa9e14a8f83c1cfa236afd707f0a9a4e8ce (patch)
treee1f97d4550cd732a9d6bbd02774eb985ab9f48d2 /generic
parentb9e2dea402e118862d49b7d41a88803ae7207606 (diff)
downloadtk-cd709aa9e14a8f83c1cfa236afd707f0a9a4e8ce.zip
tk-cd709aa9e14a8f83c1cfa236afd707f0a9a4e8ce.tar.gz
tk-cd709aa9e14a8f83c1cfa236afd707f0a9a4e8ce.tar.bz2
Remove 2 comments which are simply not correct (nor useful) any more
Diffstat (limited to 'generic')
-rw-r--r--generic/tkMain.c6
-rw-r--r--generic/tkText.c5
2 files changed, 0 insertions, 11 deletions
diff --git a/generic/tkMain.c b/generic/tkMain.c
index c7490da..784f2f8 100644
--- a/generic/tkMain.c
+++ b/generic/tkMain.c
@@ -63,12 +63,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 7c62621..b696647 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -5321,11 +5321,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