From 81ae8bdd369c422e6e9a4cf863f77f0a3230aa68 Mon Sep 17 00:00:00 2001 From: Bill Kendrick Date: Mon, 23 Sep 2024 22:05:48 -0700 Subject: [PATCH] Comic Dots: Return proper order There are two tools, so can't use the same number twice! --- magic/src/comicdot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/magic/src/comicdot.c b/magic/src/comicdot.c index e625c0417..9fc9828f8 100644 --- a/magic/src/comicdot.c +++ b/magic/src/comicdot.c @@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA (See COPYING.txt) - Last updated: September 17, 2024 + Last updated: September 23, 2024 */ #include @@ -139,9 +139,9 @@ int comicdot_get_group(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNU return MAGIC_TYPE_PAINTING; } -int comicdot_get_order(int which ATTRIBUTE_UNUSED) +int comicdot_get_order(int which) { - return 1910; + return 1910 + which; } char *comicdot_get_description(magic_api * api ATTRIBUTE_UNUSED, int which ATTRIBUTE_UNUSED, int mode)