summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-19 12:44:21 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-19 12:44:21 (GMT)
commit443d48db54020f3091bba30b8b3cc04651d2c501 (patch)
tree65d1e54ee7843c85860d2e324cd63b05a5e2a9db /win
parent73a13ad72aaee4affacc0bccba88de8caac73f1d (diff)
downloadtk-443d48db54020f3091bba30b8b3cc04651d2c501.zip
tk-443d48db54020f3091bba30b8b3cc04651d2c501.tar.gz
tk-443d48db54020f3091bba30b8b3cc04651d2c501.tar.bz2
int -> Tcl_Size in font handling (not done yet)
Diffstat (limited to 'win')
-rw-r--r--win/tkWinFont.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 4be87f1..1802b35 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.c
@@ -790,7 +790,7 @@ Tk_MeasureChars(
Tk_Font tkfont, /* Font in which characters will be drawn. */
const char *source, /* UTF-8 string to be displayed. Need not be
* '\0' terminated. */
- Tcl_Size numBytes1, /* Maximum number of bytes to consider from
+ Tcl_Size numBytes, /* Maximum number of bytes to consider from
* source string. */
int maxLength, /* If >= 0, maxLength specifies the longest
* permissible line length in pixels; don't
@@ -810,7 +810,6 @@ Tk_MeasureChars(
int *lengthPtr) /* Filled with x-location just after the
* terminating character. */
{
- int numBytes = numBytes1;
HDC hdc;
HFONT oldFont;
WinFont *fontPtr;