Formatting.

This commit is contained in:
William McBrine
2006-03-01 08:04:34 +00:00
parent 1ff69071e7
commit 574e0c831d
6 changed files with 13 additions and 13 deletions

View File

@@ -10,7 +10,7 @@
#ifdef PDCDEBUG
# define CURSES_LIBRARY /* needed for the prototype of PDC_debug */
const char *rcsid_testcurs =
"$Id: testcurs.c,v 1.39 2006/03/01 07:48:33 wmcbrine Exp $";
"$Id: testcurs.c,v 1.40 2006/03/01 08:04:33 wmcbrine Exp $";
#endif
#include <stdio.h>
@@ -98,7 +98,7 @@ int main(int argc, char *argv[])
erase();
display_menu(old_option, new_option);
while(1)
while (1)
{
noecho();
keypad(stdscr, TRUE);

View File

@@ -26,7 +26,7 @@
#ifdef PDCDEBUG
const char *rcsid_panel =
"$Id: panel.c,v 1.18 2006/02/22 06:09:46 wmcbrine Exp $";
"$Id: panel.c,v 1.19 2006/03/01 08:04:34 wmcbrine Exp $";
#endif
/*man-start*********************************************************************
@@ -271,7 +271,7 @@ static void __calculate_obscure(void)
pan = __bottom_panel;
while(pan)
while (pan)
{
if (pan->obscure)
__free_obscure(pan);
@@ -279,7 +279,7 @@ static void __calculate_obscure(void)
lobs = (PANELOBS *)0; /* last one */
pan2 = __bottom_panel;
while(pan2)
while (pan2)
{
if (__panels_overlapped(pan, pan2))
{

View File

@@ -76,7 +76,7 @@ int main(int argc, char **argv)
continue;
}
while(1)
while (1)
{
if (fgets(s, (int)sizeof(s), fp) == NULL)
{

View File

@@ -21,7 +21,7 @@
#ifdef PDCDEBUG
const char *rcsid_PDCkbd =
"$Id: pdckbd.c,v 1.38 2006/03/01 08:01:02 wmcbrine Exp $";
"$Id: pdckbd.c,v 1.39 2006/03/01 08:04:34 wmcbrine Exp $";
#endif
#define KEY_STATE TRUE
@@ -546,7 +546,7 @@ int PDC_get_bios_key(void)
PDC_LOG(("PDC_get_bios_key() - called\n"));
while(1)
while (1)
{
win32_getch();

View File

@@ -7,7 +7,7 @@
#ifdef PDCDEBUG
const char rcsid_x11common =
"$Id: x11common.c,v 1.12 2006/02/27 08:19:33 wmcbrine Exp $";
"$Id: x11common.c,v 1.13 2006/03/01 08:04:34 wmcbrine Exp $";
#endif
/* Variables specific to process port */
@@ -44,7 +44,7 @@ int write_socket(int sock_num, const char *buf, int len)
if (sock_num == key_sock)
printf("%s:write_socket(key) len: %d\n", XCLOGMSG, len);
#endif
while(1)
while (1)
{
rc = write(sock_num, buf + start, len);
@@ -63,7 +63,7 @@ int read_socket(int sock_num, char *buf, int len)
PDC_LOG(("%s:read_socket called: sock_num %d len %d\n",
XCLOGMSG, sock_num, len));
while(1)
while (1)
{
rc = read(sock_num, buf + start, length);

View File

@@ -12,7 +12,7 @@
#ifdef PDCDEBUG
const char rcsid_x11curses =
"$Id: x11curses.c,v 1.27 2006/02/27 08:13:04 wmcbrine Exp $";
"$Id: x11curses.c,v 1.28 2006/03/01 08:04:34 wmcbrine Exp $";
#endif
extern AppData app_data;
@@ -141,7 +141,7 @@ int XCurses_rawgetch(int delaytenths)
PDC_LOG(("%s:XCurses_rawgetch() - called\n", XCLOGMSG));
while(1)
while (1)
{
if (delaytenths && !XCurses_kbhit())
key = -1;