$NetBSD: patch-bc,v 1.1 2003/09/29 23:46:31 mycroft Exp $

--- linuxdoom-1.10/d_main.c.orig	2003-09-29 22:25:20.000000000 +0000
+++ linuxdoom-1.10/d_main.c	2003-09-29 23:43:29.000000000 +0000
@@ -150,7 +150,7 @@
 void D_PostEvent (event_t* ev)
 {
     events[eventhead] = *ev;
-    eventhead = (++eventhead)&(MAXEVENTS-1);
+    eventhead = (1+eventhead)&(MAXEVENTS-1);
 }
 
 
@@ -822,14 +822,14 @@
   -skill N	Set starting skill level to N.\n\
 \n\
 Others are:\n\
-
+\n\
 -altdeath   -debugfile	-file	    -nodraw	-respawn    -warp \n\
 -avg	    -devparm	-geom	    -nomonsters	-shdev	    -wart \n\
 -cdrom	    -disp	-loadgame   -playdemo	-statcopy \n\
 -comdev	    -dup	-maxdemo    -port	-timedemo \n\
 	    -extratic	-net	    -record	-timer \n\
 -deathmatch -fast	-noblit	    -regdev	-turbo \n\
-
+\n\
 ");
     exit(0);
     }
