diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-02-15 14:46:52 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-02-15 14:46:52 +0000 |
commit | 8c48207a1fc645acb38ef3a69fc8a9fb1bf048d3 (patch) | |
tree | 1fa7ea139e930a8e9e5447e0b00323c0ab22a0f9 /utils/pango-segmentation.c | |
parent | bcf61fc3a0c30da173c8629d1458fe3440288878 (diff) | |
parent | fb19eb1d3f7454605f70f61b8c8f2eca3859a394 (diff) | |
download | pango-8c48207a1fc645acb38ef3a69fc8a9fb1bf048d3.tar.gz |
Merge branch 'minor-cleanups' into 'main'
cosmetics
See merge request GNOME/pango!587
Diffstat (limited to 'utils/pango-segmentation.c')
-rw-r--r-- | utils/pango-segmentation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/pango-segmentation.c b/utils/pango-segmentation.c index 31cefdbd..65734dc4 100644 --- a/utils/pango-segmentation.c +++ b/utils/pango-segmentation.c @@ -141,8 +141,8 @@ show_segmentation (const char *input, int main (int argc, char *argv[]) { - char *opt_kind = "grapheme"; - char *opt_text = NULL; + const char *opt_kind = "grapheme"; + const char *opt_text = NULL; gboolean opt_version = FALSE; GOptionEntry entries[] = { { "kind", 0, 0, G_OPTION_ARG_STRING, &opt_kind, "Kind of boundary (grapheme/word/line/sentence)", "KIND" }, @@ -176,7 +176,7 @@ main (int argc, char *argv[]) if (opt_text) { - text = opt_text; + text = (char *)opt_text; } else if (argc > 1) { |