fix indent
This commit is contained in:
8
terms.c
8
terms.c
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: terms.c,v 1.35 2002/11/15 15:36:48 ukai Exp $ */
|
/* $Id: terms.c,v 1.36 2002/11/15 15:37:33 ukai Exp $ */
|
||||||
/*
|
/*
|
||||||
* An original curses library for EUC-kanji by Akinori ITO, December 1989
|
* An original curses library for EUC-kanji by Akinori ITO, December 1989
|
||||||
* revised by Akinori ITO, January 1995
|
* revised by Akinori ITO, January 1995
|
||||||
@@ -187,7 +187,8 @@ read_win32_console(char *s, int n)
|
|||||||
|
|
||||||
#endif /* SUPPORT_WIN9X_CONSOLE_MBCS */
|
#endif /* SUPPORT_WIN9X_CONSOLE_MBCS */
|
||||||
|
|
||||||
HWND GetConsoleHwnd(void)
|
HWND
|
||||||
|
GetConsoleHwnd(void)
|
||||||
{
|
{
|
||||||
#define MY_BUFSIZE 1024
|
#define MY_BUFSIZE 1024
|
||||||
HWND hwndFound;
|
HWND hwndFound;
|
||||||
@@ -196,8 +197,7 @@ HWND GetConsoleHwnd(void)
|
|||||||
|
|
||||||
GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE);
|
GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE);
|
||||||
wsprintf(pszNewWindowTitle, "%d/%d",
|
wsprintf(pszNewWindowTitle, "%d/%d",
|
||||||
GetTickCount(),
|
GetTickCount(), GetCurrentProcessId());
|
||||||
GetCurrentProcessId());
|
|
||||||
SetConsoleTitle(pszNewWindowTitle);
|
SetConsoleTitle(pszNewWindowTitle);
|
||||||
Sleep(40);
|
Sleep(40);
|
||||||
hwndFound = FindWindow(NULL, pszNewWindowTitle);
|
hwndFound = FindWindow(NULL, pszNewWindowTitle);
|
||||||
|
Reference in New Issue
Block a user