fix indent
This commit is contained in:
1 parent
7eb27d5b8b
commit
aa1cdab76b
1 file changed
+4
-4
@@ -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
|
||||
* revised by Akinori ITO, January 1995
|
||||
@@ -187,7 +187,8 @@ read_win32_console(char *s, int n)
|
||||
|
||||
#endif /* SUPPORT_WIN9X_CONSOLE_MBCS */
|
||||
|
||||
HWND GetConsoleHwnd(void)
|
||||
HWND
|
||||
GetConsoleHwnd(void)
|
||||
{
|
||||
#define MY_BUFSIZE 1024
|
||||
HWND hwndFound;
|
||||
@@ -196,8 +197,7 @@ HWND GetConsoleHwnd(void)
|
||||
|
||||
GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE);
|
||||
wsprintf(pszNewWindowTitle, "%d/%d",
|
||||
GetTickCount(),
|
||||
GetCurrentProcessId());
|
||||
GetTickCount(), GetCurrentProcessId());
|
||||
SetConsoleTitle(pszNewWindowTitle);
|
||||
Sleep(40);
|
||||
hwndFound = FindWindow(NULL, pszNewWindowTitle);
|
||||
|
||||
Reference in new issue
Block a user