summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorcsaba <csaba>2023-10-25 09:34:47 (GMT)
committercsaba <csaba>2023-10-25 09:34:47 (GMT)
commit7c6b2012e75a7c80f78d549fc54ba1613bcfa5cc (patch)
tree044ebd15aff8ea7bb27235e414b793bdc7bbdf13 /win
parente5eab5da94b744a503e64bc892d93e0bcf50617e (diff)
downloadtk-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.c5
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);