From d64637b7d7f43ede1e2494d14432fe4d34060f14 Mon Sep 17 00:00:00 2001 From: Brennen Murphy Date: Wed, 13 Dec 2023 15:03:04 -0500 Subject: [PATCH] bug fix --- user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/main.c b/user/main.c index fcccfc9..4a620df 100644 --- a/user/main.c +++ b/user/main.c @@ -294,7 +294,7 @@ int main(int argc, char *args[]) { //3 // Japan //4 // America //5 // Europe (Australia) - if(custom_ret) { + if(custom_ret[0] != NULL) { int custom_convert = custom_ret[0] - '0'; region = custom_convert; }