From: Eric S. Raymond Date: Fri, 20 Sep 2024 14:40:22 +0000 (-0400) Subject: Fix a busted comment. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=acdfa96315f7c7bafce54d0e0530f4c95f3bb390;p=open-adventure.git Fix a busted comment. --- diff --git a/misc.c b/misc.c index 14d0622..aa11786 100644 --- a/misc.c +++ b/misc.c @@ -495,8 +495,8 @@ static void tokenize(char *raw, command_t *cmd) { memset(&cmd->word[1].raw, '\0', sizeof(cmd->word[1].raw)); /* Bound prefix on the %s would be needed to prevent buffer - * overflow. but we shortstop this more simply by making each - * raw-input buffer as int as the entire input buffer. */ + * overflow. We shortstop this more simply by making each + * raw-input buffer as long as the entire input buffer. */ sscanf(raw, "%s%s", cmd->word[0].raw, cmd->word[1].raw); /* (ESR) In oldstyle mode, simulate the uppercasing and truncating