From 900eb9bca18f57531bc74d3a5f5b5e87870cd1ae Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 5 Apr 2026 19:59:30 -0400 Subject: Replace cc65 lib isdigit() and atoi() with less bloated isnum() and a2uint(). --- src/cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd.c') diff --git a/src/cmd.c b/src/cmd.c index 03a6a26..f0a6d8a 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -356,9 +356,9 @@ static void do_ver(void) { static void do_color(void) { arg2 = nextarg(arg1); - OS.color2 = atoi(arg1); + OS.color2 = a2uint(arg1); if(arg2) - OS.color1 = atoi(arg2); + OS.color1 = a2uint(arg2); } static void do_query(void) { -- cgit v1.2.3