From 2a7b00da49557daa1c119a0b0a35bc4d155f3113 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Sun, 29 Jan 2023 00:54:29 -0800 Subject: [PATCH] Circles/Rays magic: correct one-off bug in description arrays --- magic/src/swirls.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/magic/src/swirls.c b/magic/src/swirls.c index d801baccd..30f1f0056 100644 --- a/magic/src/swirls.c +++ b/magic/src/swirls.c @@ -31,12 +31,12 @@ char * swirl_names[NUM_SWIRL_TOOLS] = { char * swirl_descriptions[NUM_SWIRL_TOOLS][2] = { { - gettext_noop("Click to turn your entire picture into circular brushstrokes."), - gettext_noop("Click and drag to transform parts of your picture to circular brushstrokes.") + gettext_noop("Click and drag to transform parts of your picture to circular brushstrokes."), + gettext_noop("Click to turn your entire picture into circular brushstrokes.") }, { - gettext_noop("Click to turn your entire picture into brushstroke rays."), - gettext_noop("Click and drag to transform parts of your picture to brushstroke rays.") + gettext_noop("Click and drag to transform parts of your picture to brushstroke rays."), + gettext_noop("Click to turn your entire picture into brushstroke rays.") } }; @@ -144,7 +144,7 @@ int swirls_get_group(magic_api * api ATTRIBUTE_UNUSED, char *swirls_get_description(magic_api * api ATTRIBUTE_UNUSED, int which, int mode) { - return strdup(gettext(swirl_descriptions[which][mode])); + return strdup(gettext(swirl_descriptions[which][mode - 1])); } int swirls_requires_colors(magic_api * api ATTRIBUTE_UNUSED,