summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkTextDisp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 570e166..1ed9a65 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -7980,7 +7980,8 @@ CharDisplayProc(
/*
* On OS X, the soft hyphen does not render (there is no
* corresponding glyph in OS X fonts). Display a regular
- * hard hyphen instead.
+ * hard hyphen instead. This could be done on all platforms
+ * but for performance reasons do it only if it's needed.
*/
#ifdef MAC_OSX_TK
@@ -8060,7 +8061,8 @@ CharDisplayProc(
/*
* On OS X, the soft hyphen does not render (there is no
* corresponding glyph in OS X fonts). Display a regular
- * hard hyphen instead.
+ * hard hyphen instead. This could be done on all platforms
+ * but for performance reasons do it only if it's needed.
*/
#ifdef MAC_OSX_TK