summaryrefslogtreecommitdiff
path: root/lib/libcurses/base/lib_addch.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-15 11:41:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-15 11:41:05 +0000
commit37393a89d0baca86189de2995545e5ce5fae2bec (patch)
treee163b14ae72ff6844e0c3d50707228342c4ffa1e /lib/libcurses/base/lib_addch.c
parent9120659b526789e2804ac5784a90b260b5fc261b (diff)
Update to ncurses-5.0-990814
Diffstat (limited to 'lib/libcurses/base/lib_addch.c')
-rw-r--r--lib/libcurses/base/lib_addch.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libcurses/base/lib_addch.c b/lib/libcurses/base/lib_addch.c
index cc22401c8ee..5238783668e 100644
--- a/lib/libcurses/base/lib_addch.c
+++ b/lib/libcurses/base/lib_addch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lib_addch.c,v 1.1 1999/01/18 19:09:34 millert Exp $ */
+/* $OpenBSD: lib_addch.c,v 1.2 1999/08/15 11:40:55 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -43,7 +43,7 @@
#include <curses.priv.h>
#include <ctype.h>
-MODULE_ID("$From: lib_addch.c,v 1.41 1998/06/28 00:10:21 tom Exp $")
+MODULE_ID("$From: lib_addch.c,v 1.42 1999/07/24 20:01:05 tom Exp $")
/*
* Ugly microtweaking alert. Everything from here to end of module is
@@ -171,8 +171,8 @@ int waddch_nosync(WINDOW *win, const chtype ch)
/* the workhorse function -- add a character to the given window */
{
int x, y;
- int t;
- const char *s;
+ int t = 0;
+ const char *s = 0;
if ((ch & A_ALTCHARSET)
|| ((t = TextOf(ch)) > 127)