diff options
author | csaba <csaba> | 2023-10-25 09:34:47 (GMT) |
---|---|---|
committer | csaba <csaba> | 2023-10-25 09:34:47 (GMT) |
commit | 7c6b2012e75a7c80f78d549fc54ba1613bcfa5cc (patch) | |
tree | 044ebd15aff8ea7bb27235e414b793bdc7bbdf13 /win | |
parent | e5eab5da94b744a503e64bc892d93e0bcf50617e (diff) | |
download | tk-7c6b2012e75a7c80f78d549fc54ba1613bcfa5cc.zip tk-7c6b2012e75a7c80f78d549fc54ba1613bcfa5cc.tar.gz tk-7c6b2012e75a7c80f78d549fc54ba1613bcfa5cc.tar.bz2 |
Made sure that a C++ compiler won't raise warnings related to the invocations of strstr(). Thanks Jan!
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinButton.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c index 43d5368..6dfc2be 100644 --- a/win/tkWinButton.c +++ b/win/tkWinButton.c @@ -443,9 +443,8 @@ TkpDrawIndicator( } /* - * Copy the string pointed to by svgDataPtr to a newly allocated - * memory area svgDataCopy and assign the latter's address to - * svgDataPtr + * Copy the string pointed to by svgDataPtr to + * a newly allocated memory area svgDataCopy */ svgDataLen = strlen(svgDataPtr); |