summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/textWind.test2
-rw-r--r--unix/tkUnixButton.c14
-rw-r--r--win/tkWinButton.c10
3 files changed, 13 insertions, 13 deletions
diff --git a/tests/textWind.test b/tests/textWind.test
index c6fc361..ecb433e 100644
--- a/tests/textWind.test
+++ b/tests/textWind.test
@@ -41,7 +41,7 @@ Some of the upcoming tests will probably fail."
# upcoming tests when wrapping enters in play
# Also -height 6 (lines) is an important assumption
# Moreover the widget must have the same padding in x and y (see proc bo)
-# However the tests are not sensitive to -borderwidth and -highlightthickness
+# However the tests are not sensitive to -borderwidth and -highlightthickness
text .t -font $fixedFont -width 30 -height 6 -borderwidth 2 -highlightthickness 2
pack .t -expand 1 -fill both
update
diff --git a/unix/tkUnixButton.c b/unix/tkUnixButton.c
index 453f64a..a47e760 100644
--- a/unix/tkUnixButton.c
+++ b/unix/tkUnixButton.c
@@ -64,7 +64,7 @@ const Tk_ClassProcs tkpButtonProcs = {
* Data of the SVG images used for drawing the indicators
*/
-static const char *const checkbtnOffData =
+static const char checkbtnOffData[] =
"<svg id='checkbutton' width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n"
" <defs>\n"
" <linearGradient id='linearGradientLeft' x1='2' x2='2' y1='7.5' y2='7.5' gradientUnits='userSpaceOnUse'>\n"
@@ -93,7 +93,7 @@ static const char *const checkbtnOffData =
" </g>\n"
"</svg>";
-static const char *const checkbtnOnData =
+static const char checkbtnOnData[] =
"<svg id='checkbutton' width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n"
" <defs>\n"
" <linearGradient id='linearGradientLeft' x1='2' x2='2' y1='7.5' y2='7.5' gradientUnits='userSpaceOnUse'>\n"
@@ -123,7 +123,7 @@ static const char *const checkbtnOnData =
" <path id='indicator' d='m4.4194 7.9316 3 3 4-7' fill='none' stroke='#INDCTR' stroke-width='2px' style='paint-order:stroke markers fill'/>\n"
"</svg>";
-static const char *const radiobtnOffData =
+static const char radiobtnOffData[] =
"<svg id='radiobutton' width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n"
" <defs>\n"
" <linearGradient id='gradient1' x1='2' x2='11' y1='2' y2='11' gradientUnits='userSpaceOnUse'>\n"
@@ -135,7 +135,7 @@ static const char *const radiobtnOffData =
" <circle cx='8' cy='8' r='6.5' fill='#INTROR' fill-rule='evenodd'/>\n"
"</svg>";
-static const char *const radiobtnOnData =
+static const char radiobtnOnData[] =
"<svg id='radiobutton' width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n"
" <defs>\n"
" <linearGradient id='gradient1' x1='2' x2='11' y1='2' y2='11' gradientUnits='userSpaceOnUse'>\n"
@@ -150,15 +150,15 @@ static const char *const radiobtnOnData =
" </g>\n"
"</svg>";
-static const char *const menuOffData =
+static const char menuOffData[] =
"<svg width='8' height='8' version='1.1' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'></svg>";
-static const char *const checkmenuOnData =
+static const char checkmenuOnData[] =
"<svg width='8' height='8' version='1.1' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'>\n"
" <path id='indicator' d='m0.59082 3.0963 3.3419 3.3419 3.3419-5.8483' fill='none' stroke='#INDCTR' stroke-width='1.6709px' style='paint-order:stroke markers fill'/>\n"
"</svg>";
-static const char *const radiomenuOnData =
+static const char radiomenuOnData[] =
"<svg width='8' height='8' version='1.1' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'>\n"
" <circle cx='4' cy='4' r='3' fill='#INDCTR' fill-rule='evenodd'/>\n"
"</svg>";
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index 0933d75..3710895 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.c
@@ -51,11 +51,11 @@ static Tcl_ThreadDataKey dataKey;
* The SVG images used here are partly based on some icons provided by
* the official open source SVG icon library for the Bootstrap project,
* licensed under the MIT license (https://opensource.org/licenses/MIT).
- *
+ *
* See https://github.com/twbs/icons.
*/
-static const char *const checkbtnOffData = "\
+static const char checkbtnOffData[] = "\
<svg width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n\
<g>\n\
<path d='m0 0v15h1v-14h14v-1z' fill='#a0a0a0'/>\n\
@@ -66,7 +66,7 @@ static const char *const checkbtnOffData = "\
</g>\n\
</svg>";
-static const char *const checkbtnOnData = "\
+static const char checkbtnOnData[] = "\
<svg width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n\
<g>\n\
<path d='m0 0v15h1v-14h14v-1z' fill='#a0a0a0'/>\n\
@@ -78,7 +78,7 @@ static const char *const checkbtnOnData = "\
</g>\n\
</svg>";
-static const char *const radiobtnOffData = "\
+static const char radiobtnOffData[] = "\
<svg width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n\
<defs>\n\
<linearGradient id='linearGradient1319' x1='7' x2='9' y1='8' y2='8' gradientTransform='rotate(45,8,8)' gradientUnits='userSpaceOnUse'>\n\
@@ -95,7 +95,7 @@ static const char *const radiobtnOffData = "\
<path d='m12.95 3.0503c-2.7294-2.7294-7.1701-2.7294-9.8995 0s-2.7294 7.1701 0 9.8995 7.1701 2.7294 9.8995 0 2.7294-7.1701 0-9.8995zm-0.70711 0.70711c2.3476 2.3476 2.3476 6.1377 0 8.4853s-6.1377 2.3476-8.4853 0-2.3476-6.1377 0-8.4853 6.1377-2.3476 8.4853 0z' fill='url(#linearGradient2819)'/>\n\
</svg>";
-static const char *const radiobtnOnData = "\
+static const char radiobtnOnData[] = "\
<svg width='16' height='16' version='1.1' xmlns='http://www.w3.org/2000/svg'>\n\
<defs>\n\
<linearGradient id='linearGradient1319' x1='7' x2='9' y1='8' y2='8' gradientTransform='rotate(45,8,8)' gradientUnits='userSpaceOnUse'>\n\