Author: tfaber
Date: Thu Jan 16 10:47:14 2014
New Revision: 61644
URL:
http://svn.reactos.org/svn/reactos?rev=61644&view=rev
Log:
[SNDREC32:FORMATTING]
- Fix spacing
Modified:
trunk/reactos/base/applications/sndrec32/sndrec32.cpp
Modified: trunk/reactos/base/applications/sndrec32/sndrec32.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/sndrec32…
==============================================================================
--- trunk/reactos/base/applications/sndrec32/sndrec32.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/sndrec32/sndrec32.cpp [iso-8859-1] Thu Jan 16 10:47:14
2014
@@ -113,7 +113,7 @@
MSG msg;
HACCEL hAccelTable;
-
+
s_info.cbSize = sizeof( NONCLIENTMETRICS );
InitCommonControls();
@@ -233,7 +233,7 @@
return (int)msg.wParam;
}
-ATOM
+ATOM
MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
@@ -255,7 +255,7 @@
return RegisterClassEx(&wcex);
}
-BOOL
+BOOL
InitInstance(HINSTANCE hInstance, int nCmdShow)
{
HWND hWnd;
@@ -286,7 +286,7 @@
return TRUE;
}
-ATOM
+ATOM
MyRegisterClass_wave(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
@@ -308,7 +308,7 @@
return RegisterClassEx(&wcex);
}
-BOOL
+BOOL
InitInstance_wave(HWND f,
HINSTANCE hInstance,
int nCmdShow)
@@ -343,7 +343,7 @@
}
LRESULT
-CALLBACK
+CALLBACK
WndProc_wave(HWND hWnd,
UINT message,
WPARAM wParam,
@@ -426,7 +426,7 @@
}
LRESULT
-CALLBACK
+CALLBACK
WndProc(HWND hWnd,
UINT message,
WPARAM wParam,
@@ -615,24 +615,24 @@
ofn.lpstrFilter = TEXT("Audio Files (*.wav)\0*.wav\0All Files
(*.*)\0*.*\0");
ofn.lpstrFile = file_path;
ofn.nMaxFile = MAX_PATH;
-
+
ofn.lpstrDefExt = TEXT("wav");
-
- if (GetSaveFileName (&ofn))
+
+ if (GetSaveFileName (&ofn))
{
write_wav(file_path);
EnableMenuItem(GetMenu(hWnd), ID_FILE_SAVE, MF_ENABLED);
}
- break;
-
-
- case ID_EDIT_AUDIOPROPS:
- ShellExecute( NULL, NULL, _T("rundll32.exe"),
_T("shell32.dll,Control_RunDLL mmsys.cpl,ShowAudioPropertySheet"), NULL,
SW_SHOWNORMAL );
- break;
-
- case ID_FILE_EXIT:
- DestroyWindow( hWnd );
- break;
+ break;
+
+
+ case ID_EDIT_AUDIOPROPS:
+ ShellExecute(NULL, NULL, _T("rundll32.exe"),
_T("shell32.dll,Control_RunDLL mmsys.cpl,ShowAudioPropertySheet"), NULL,
SW_SHOWNORMAL);
+ break;
+
+ case ID_FILE_EXIT:
+ DestroyWindow(hWnd);
+ break;
/* Sndrec32 buttons routines */
case BUTSTART_ID:
@@ -750,7 +750,7 @@
case WM_TIMER:
switch (wParam)
{
- case 1:
+ case 1:
if (stopped_flag)
{
KillTimer(hWnd, 1);
@@ -841,7 +841,7 @@
ExtTextOut(hdc,
STRBUF_X,
STRBUF_Y,
- ETO_OPAQUE,
+ ETO_OPAQUE,
0,
str_tmp,
_tcslen(str_tmp),
@@ -1115,7 +1115,7 @@
TEXT("File Error, WriteFile() failed."),
TEXT("ERROR"),
MB_OK | MB_ICONERROR);
-
+
CloseHandle(file);
return FALSE;
}
@@ -1127,7 +1127,7 @@
TEXT("File Error, WriteFile() failed."),
TEXT("ERROR"),
MB_OK | MB_ICONERROR);
-
+
CloseHandle(file);
return FALSE;
}