From f79d2d229a290a28fc1cfc5daeff083c69f51ec3 Mon Sep 17 00:00:00 2001 From: mickey Date: Fri, 10 May 1996 14:00:56 +0000 Subject: [PATCH] fix symtab skip loop (s,p,q,). --- sys/ddb/db_hangman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/ddb/db_hangman.c b/sys/ddb/db_hangman.c index d4b70d4ccac..62be09d63c9 100644 --- a/sys/ddb/db_hangman.c +++ b/sys/ddb/db_hangman.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_hangman.c,v 1.3 1996/05/10 13:58:43 mickey Exp $ */ +/* $OpenBSD: db_hangman.c,v 1.4 1996/05/10 14:00:56 mickey Exp $ */ /* * Copyright (c) 1996 Theo de Raadt, Michael Shalayeff @@ -74,7 +74,7 @@ db_randomsym(lenp) /* don't show symtab name if there are less than 3 of 'em */ if (db_nsymtabs < 3) - while(*p++ != ':'); + while(*q++ != ':'); /* strlen(q) && ignoring underscores and colons */ for ((*lenp) = 0, p = q; *p; p++) -- 2.20.1