summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/base/lib_insstr.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-03-14 03:10:32 +0000
committermillert <millert@openbsd.org>1999-03-14 03:10:32 +0000
commitb89d2963fc355b9ca7ace04f474b00a29e05d870 (patch)
treefd726d91c044bb77f94751702a0013c02cac1704 /lib/libcurses/base/lib_insstr.c
parentAccess control works now; also, some minor tidying and man page fixes. (diff)
downloadwireguard-openbsd-b89d2963fc355b9ca7ace04f474b00a29e05d870.tar.xz
wireguard-openbsd-b89d2963fc355b9ca7ace04f474b00a29e05d870.zip
ncurses-4.2-990313
Diffstat (limited to 'lib/libcurses/base/lib_insstr.c')
-rw-r--r--lib/libcurses/base/lib_insstr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/base/lib_insstr.c b/lib/libcurses/base/lib_insstr.c
index 8fcef043c4a..db41e072158 100644
--- a/lib/libcurses/base/lib_insstr.c
+++ b/lib/libcurses/base/lib_insstr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_insstr.c,v 1.1 1999/01/18 19:09:50 millert Exp $ */
+/* $OpenBSD: lib_insstr.c,v 1.2 1999/03/14 03:10:32 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -45,7 +45,7 @@
#include <curses.priv.h>
#include <ctype.h>
-MODULE_ID("$From: lib_insstr.c,v 1.12 1998/02/23 12:12:16 tom Exp $")
+MODULE_ID("$From: lib_insstr.c,v 1.13 1999/03/14 00:27:21 tom Exp $")
int winsnstr(WINDOW *win, const char *s, int n)
{
@@ -55,7 +55,7 @@ short ox ;
const unsigned char *str = (const unsigned char *)s;
const unsigned char *cp;
- T((T_CALLED("winsnstr(%p,%s,%d)"), win, _nc_visbuf(str), n));
+ T((T_CALLED("winsnstr(%p,%s,%d)"), win, _nc_visbuf(s), n));
if (win && str) {
oy = win->_cury; ox = win->_curx;