Choose a less obscure label name.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 19:03:20 +0000 (14:03 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 19:03:20 +0000 (14:03 -0500)
main.c

diff --git a/main.c b/main.c
index 70f1b9e971314e27d9c7c6b851f1c89e3fddf59b..b131190cb58e91f1c0bd6aa51d87fd5b5542a4e1 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1041,7 +1041,7 @@ Lclearobj:
         game.oldobj = command.obj;
        command.obj = 0;
 
-L2600:
+Lcheckhint:
         checkhints();
 
         /*  If closing time, check for any objects being toted with
@@ -1196,7 +1196,7 @@ Lookup:
         case GO_CLEAROBJ:
             goto Lclearobj;
         case GO_CHECKHINT:
-            goto L2600;
+            goto Lcheckhint;
         case GO_WORD2:
 #ifdef GDEBUG
             printf("Word shift\n");
@@ -1211,7 +1211,7 @@ Lookup:
             command.word[0].raw[0] = toupper(command.word[0].raw[0]);
             sspeak(DO_WHAT, command.word[0].raw);
             command.obj = 0;
-            goto L2600;
+            goto Lcheckhint;
         case GO_DWARFWAKE:
             /*  Oh dear, he's disturbed the dwarves. */
             rspeak(DWARVES_AWAKEN);