w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 7901bbe1f1fc1c9425b3190b06b3f1ac56e6dc0c
parent c918d7902afe9431154abecb824ae03c2b84933f
Author: ukai <ukai>
Date:   Fri, 15 Nov 2002 15:37:33 +0000

fix indent

Diffstat:
Mterms.c | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/terms.c b/terms.c @@ -98,8 +98,8 @@ enable_win9x_console_input(void) { if (isWin95 && isWinConsole && isLocalConsole && hConIn == INVALID_HANDLE_VALUE) { - hConIn = CreateFile("CONIN$", GENERIC_READ|GENERIC_WRITE, - FILE_SHARE_READ|FILE_SHARE_WRITE, + hConIn = CreateFile("CONIN$", GENERIC_READ | GENERIC_WRITE, + FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); if (hConIn != INVALID_HANDLE_VALUE) { getch(); @@ -185,26 +185,26 @@ read_win32_console(char *s, int n) return 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; char pszNewWindowTitle[MY_BUFSIZE]; char pszOldWindowTitle[MY_BUFSIZE]; GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE); - wsprintf(pszNewWindowTitle,"%d/%d", - GetTickCount(), - GetCurrentProcessId()); + wsprintf(pszNewWindowTitle, "%d/%d", + GetTickCount(), GetCurrentProcessId()); SetConsoleTitle(pszNewWindowTitle); Sleep(40); hwndFound = FindWindow(NULL, pszNewWindowTitle); SetConsoleTitle(pszOldWindowTitle); - return(hwndFound); + return (hwndFound); } - + unsigned long cygwin_version(void) { @@ -212,7 +212,7 @@ cygwin_version(void) p = (struct per_process *)cygwin_internal(CW_USER_DATA); if (p != NULL) { - return (p->dll_major * 1000) + p->dll_minor; + return (p->dll_major * 1000) + p->dll_minor; } return 0; } @@ -242,7 +242,7 @@ check_cygwin_console(void) cygwin_mouse_btn_swapped = 1; } } -#endif /* __CYGWIN__ */ +#endif /* __CYGWIN__ */ char *getenv(const char *); MySignalHandler reset_exit(SIGNAL_ARG), error_dump(SIGNAL_ARG);