From 8d63c9dd1c6d1b78caee7aa21670185fe022d0df Mon Sep 17 00:00:00 2001 From: david Date: Sat, 25 Jul 2026 05:05:21 -0300 Subject: segfault if you go to negative numbers in the maze game... --- petratc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'petratc.c') diff --git a/petratc.c b/petratc.c index d3171cd..2cb60fb 100644 --- a/petratc.c +++ b/petratc.c @@ -33,9 +33,9 @@ char *funfact[] = { Rat rat; -//i was cleaning the code up a bit and what the fuck is this +/*i was cleaning the code up a bit and what the fuck is this //it's so funny Rat rat - +*/ void printrat(WINDOW *win){ werase(win); @@ -101,13 +101,13 @@ int truing = 1; case '2': endwin(); gamemaze(); - //printf("the maze is really dark squeak...\n\n"); + /*printf("the maze is really dark squeak...\n\n");*/ refresh(); break; case '4': endwin(); gamecatch(); - //printf("your rat feels cleaner!\n\n"); + /*printf("your rat feels cleaner!\n\n");*/ refresh(); break; case '5': @@ -118,7 +118,7 @@ int truing = 1; case '9': break; case '0': truing = 0; break; } -// i will put those printfs where the squeaks go but i have no clue how to do that today +/* i will put those printfs where the squeaks go but i have no clue how to do that today */ if(truing) printrat(win); } -- cgit v1.3-2-g0d8e