diff options
author | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-02-10 19:47:06 +0300 |
---|---|---|
committer | Thorvald Natvig <slicer@users.sourceforge.net> | 2009-02-10 19:47:06 +0300 |
commit | 554763e5c36594d5e4752a9ab1c2e6dee5fcc9f9 (patch) | |
tree | b69d1816f0e4232d67e230b1ecf5320a0948b137 /g15helper | |
parent | ed7c412a19ec5371902ec529c93e653377f3b393 (diff) |
Indenting run
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1513 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'g15helper')
-rw-r--r-- | g15helper/g15helper.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/g15helper/g15helper.c b/g15helper/g15helper.c index d082899d3..b8055b868 100644 --- a/g15helper/g15helper.c +++ b/g15helper/g15helper.c @@ -42,9 +42,9 @@ #include "lglcd.h" static void __cdecl ods(const char *fmt, va_list args) { - char buffer[2048]; - _vsnprintf_s(buffer, 2048, _TRUNCATE, fmt, args); - OutputDebugStringA(buffer); + char buffer[2048]; + _vsnprintf_s(buffer, 2048, _TRUNCATE, fmt, args); + OutputDebugStringA(buffer); } static void __cdecl warn(const char *fmt, ...) { @@ -84,12 +84,12 @@ int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL } hStdin = GetStdHandle(STD_INPUT_HANDLE); - if (hStdin == INVALID_HANDLE_VALUE) - die(G15_ERR_PIPESTATE, "Failed to get standard input"); + if (hStdin == INVALID_HANDLE_VALUE) + die(G15_ERR_PIPESTATE, "Failed to get standard input"); hStdout = GetStdHandle(STD_OUTPUT_HANDLE); - if (hStdout == INVALID_HANDLE_VALUE) - die(G15_ERR_PIPESTATE, "Failed to get standard output"); + if (hStdout == INVALID_HANDLE_VALUE) + die(G15_ERR_PIPESTATE, "Failed to get standard output"); /* * Clear and set up initial structures. @@ -126,7 +126,7 @@ int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdL if (bDetect) return (dwErr != ERROR_SUCCESS); else if (dwErr != ERROR_SUCCESS) - die(G15_ERR_OPEN, "Unable to open device. (Error: %i)", dwErr); + die(G15_ERR_OPEN, "Unable to open device. (Error: %i)", dwErr); /* * Diplay buffer format. |