-/* $OpenBSD: extend.c,v 1.79 2023/03/30 22:56:47 op Exp $ */
+/* $OpenBSD: extend.c,v 1.80 2023/04/17 10:11:30 op Exp $ */
/* This file is in the public domain. */
/*
return (FALSE);
(void)strlcat(buf, tmp, sizeof(buf));
if ((mp = name_map(tmp)) == NULL)
- return (dobeep_msgs("Unknown map ", tmp));
+ return (dobeep_msgs("Unknown map", tmp));
if (strlcat(buf, "key: ", sizeof(buf)) >= sizeof(buf))
return (FALSE);
n = (int)nl;
}
if ((fp = name_function(funcp)) == NULL)
- return (dobeep_msgs("Unknown function: ", funcp));
+ return (dobeep_msgs("Unknown function:", funcp));
if (fp == bindtokey || fp == unbindtokey) {
bind = BINDARG;
case BINDNEXT:
lp->l_text[lp->l_used] = '\0';
if ((curmap = name_map(lp->l_text)) == NULL) {
- (void)dobeep_msgs("No such mode: ", lp->l_text);
+ (void)dobeep_msgs("No such mode:", lp->l_text);
status = FALSE;
free(lp);
goto cleanup;
-/* $OpenBSD: interpreter.c,v 1.34 2022/01/28 06:18:41 guenther Exp $ */
+/* $OpenBSD: interpreter.c,v 1.35 2023/04/17 10:11:30 op Exp $ */
/*
* This file is in the public domain.
*
* If no extant mg command found, just return.
*/
if ((funcp = name_function(cmdp)) == NULL)
- return (dobeep_msgs("Unknown command: ", cmdp));
+ return (dobeep_msgs("Unknown command:", cmdp));
numparams = numparams_function(funcp);
if (numparams == 0)