diff options
author | fvogel <fvogelnew1@free.fr> | 2019-09-29 08:04:01 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-09-29 08:04:01 (GMT) |
commit | 8af92a82ec9b2a28d3de7125d9591a5657f605b0 (patch) | |
tree | d6bdd95b178300d4d32750ec64f583efb7a010ed /generic/tkCanvText.c | |
parent | 3018c010a7091f6aa32cab66450756969c288322 (diff) | |
download | tk-8af92a82ec9b2a28d3de7125d9591a5657f605b0.zip tk-8af92a82ec9b2a28d3de7125d9591a5657f605b0.tar.gz tk-8af92a82ec9b2a28d3de7125d9591a5657f605b0.tar.bz2 |
Fix Tk_Offset() -> offsetof(). Tk_Offset() was inherited by merging chavez-canvas branch that originally targeted core-8-6-branch.
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r-- | generic/tkCanvText.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c index 042444e..b498b1c 100644 --- a/generic/tkCanvText.c +++ b/generic/tkCanvText.c @@ -107,7 +107,7 @@ static const Tk_ConfigSpec configSpecs[] = { {TK_CONFIG_BITMAP, "-disabledstipple", NULL, NULL, NULL, offsetof(TextItem, disabledStipple), TK_CONFIG_NULL_OK, NULL}, {TK_CONFIG_COLOR, "-fill", NULL, NULL, - DEF_CANVTEXT_FILL, Tk_Offset(TextItem, color), TK_CONFIG_NULL_OK, NULL}, + DEF_CANVTEXT_FILL, offsetof(TextItem, color), TK_CONFIG_NULL_OK, NULL}, {TK_CONFIG_FONT, "-font", NULL, NULL, DEF_CANVTEXT_FONT, offsetof(TextItem, tkfont), 0, NULL}, {TK_CONFIG_JUSTIFY, "-justify", NULL, NULL, |