From 17e177987055f1df8a2eae2a6d82c80c022c56e6 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Mon, 13 Dec 1999 05:58:53 +0100
Subject: [PATCH] Fixed handling of -rt and -rT.

Rev: src/main.c:1.80
---
 src/main.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/main.c b/src/main.c
index 51d7e4fd98..47b72e2cdd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -5,7 +5,7 @@
 \*/
 /**/
 #include "global.h"
-RCSID("$Id: main.c,v 1.79 1999/12/13 01:21:10 grubba Exp $");
+RCSID("$Id: main.c,v 1.80 1999/12/13 04:58:53 per Exp $");
 #include "fdlib.h"
 #include "backend.h"
 #include "module.h"
@@ -327,19 +327,21 @@ int dbm_main(int argc, char **argv)
 	  break;
 
 	case 'r':
-	more_w_flags:
-	  switch(p[1]) {
+	more_r_flags:
+	  switch(p[1]) 
+          {
 	  case 't':
 	    runtime_options |= RUNTIME_CHECK_TYPES;
 	    p++;
-	    goto more_w_flags;
+	    goto more_r_flags;
 
 	  case 'T':
 	    runtime_options |= RUNTIME_STRICT_TYPES;
 	    p++;
-	    goto more_w_flags;
+	    goto more_r_flags;
 
-	  default:
+         default:
+            p++;
 	    break;
 	  }
 	  break;
-- 
GitLab