From d043adc8908f2137e9b5d0f010615e514b156656 Mon Sep 17 00:00:00 2001 From: Ted Jump Date: Fri, 17 Sep 1999 02:41:38 +0000 Subject: [PATCH] Cleaned up exit from main to prevent MSVC warnings --- progs/samples/overlay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c index 41bbc26114e..0def2b1105e 100644 --- a/progs/samples/overlay.c +++ b/progs/samples/overlay.c @@ -351,7 +351,7 @@ int main(int argc, char **argv) } if (Args(argc, argv) == GL_FALSE) { - exit(1); + return(1); } windW = 300; @@ -363,7 +363,7 @@ int main(int argc, char **argv) glutInitDisplayMode(type); if (glutCreateWindow("Overlay Test") == GL_FALSE) { - exit(1); + return(1); } glutEstablishOverlay(); -- 2.30.2