From c721c4d6ef2f42dd6709028d03b897c491fea947 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 21 Sep 2023 15:35:10 -0400 Subject: [PATCH] path-tool: Fix the restrict command --- tools/gtk-path-tool-restrict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gtk-path-tool-restrict.c b/tools/gtk-path-tool-restrict.c index e504e25044..d885d9e95c 100644 --- a/tools/gtk-path-tool-restrict.c +++ b/tools/gtk-path-tool-restrict.c @@ -34,7 +34,7 @@ do_restrict (int *argc, const char ***argv) GOptionContext *context; GOptionEntry entries[] = { { "start", 0, 0, G_OPTION_ARG_DOUBLE, &start, N_("Beginning of segment"), N_("LENGTH") }, - { "end", 0, 0, G_OPTION_ARG_DOUBLE, &start, N_("End of segment"), N_("LENGTH") }, + { "end", 0, 0, G_OPTION_ARG_DOUBLE, &end, N_("End of segment"), N_("LENGTH") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &args, NULL, N_("PATH") }, { NULL, }, };