From 5ec7174e3e30271b3604fe44be5f2562daa65e62 Mon Sep 17 00:00:00 2001 From: me Date: Tue, 21 Jun 2022 16:15:56 +0430 Subject: [PATCH] include current dir as well --- nbsdgames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbsdgames.c b/nbsdgames.c index 3d27bfa..58f4ba7 100644 --- a/nbsdgames.c +++ b/nbsdgames.c @@ -350,7 +350,7 @@ int main(int argc,char** argv){ printf("This game doesn't take arguments"); } char path[1000]; - //snprintf(path,999,"%s:.",path);//include current dir at the end + snprintf(path,999,"%s:.",path);//include current dir at the end signal(SIGINT,sigint_handler); initscr(); noecho();