summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXFont.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 08:29:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-02 08:29:48 (GMT)
commita5a75fd79518333976b2b5f8e0887b1eac08e72d (patch)
tree29d529701cd4539049feaf7f6b17349de81c587d /macosx/tkMacOSXFont.c
parente9be26a5cd7994354c11df68142dedd1ad385705 (diff)
downloadtk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.zip
tk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.tar.gz
tk-a5a75fd79518333976b2b5f8e0887b1eac08e72d.tar.bz2
Eliminate MODULE_SCOPE wrapper function for TkMacOSXDrawable(). Rename (internal) TkMacOSXDrawableWindow() to TkMacOSXGetNSWindowForDrawable(). Code (type-cast) cleanup
Diffstat (limited to 'macosx/tkMacOSXFont.c')
-rw-r--r--macosx/tkMacOSXFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index ac3bf20..4e383f1 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -451,7 +451,7 @@ TkpFontPkgInit(
TkMainInfo *mainPtr) /* The application being created. */
{
Tcl_Interp *interp = mainPtr->interp;
- Tk_Window tkwin = (Tk_Window) mainPtr->winPtr;
+ Tk_Window tkwin = (Tk_Window)mainPtr->winPtr;
const struct SystemFontMapEntry *systemFont = systemFontMap;
NSFont *nsFont;
TkFontAttributes fa;