/****************************************************************************
- * Copyright (c) 2007,2008 Free Software Foundation, Inc. *
+ * Copyright (c) 2007-2008,2009 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* authorization. *
****************************************************************************/
/*
- * $Id: test_opaque.c,v 1.6 2008/04/05 18:03:57 tom Exp $
+ * $Id: test_opaque.c,v 1.9 2009/10/24 21:21:29 tom Exp $
*
* Author: Thomas E Dickey
*
{
to_keyword(stswin, cell);
if (active == cell)
- wstandout(stswin);
+ (void) wstandout(stswin);
wprintw(stswin, "%s:", name);
if (active == cell)
- wstandend(stswin);
+ (void) wstandend(stswin);
}
/* *INDENT-OFF* */
static struct {
show_keyword(stswin, n, active, "wgetparent");
to_result(stswin, n, TRUE);
- wprintw(stswin, "%p", wgetparent(txtwin));
+ wprintw(stswin, "%p", (void *) wgetparent(txtwin));
++n;
show_keyword(stswin, n, active, "wgetscrreg");
int y0, x0;
int y, x;
int save_tabsize = TABSIZE;
- bool done = FALSE;
(void) cbreak(); /* take input chars one at a time, no wait for \n */
(void) noecho(); /* don't echo input */
for (x = 0; x < COLS;) {
addch('\t');
if (addch('*') == ERR) {
- done = TRUE;
break;
}
getyx(stdscr, y0, x0);
if (y0 != y || x0 == x) {
- done = TRUE;
break;
}
}