[SNDREC32:FORMATTING]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 16 Jan 2014 10:47:14 +0000 (10:47 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 16 Jan 2014 10:47:14 +0000 (10:47 +0000)
- Fix spacing

svn path=/trunk/; revision=61644

reactos/base/applications/sndrec32/sndrec32.cpp

index c059258..f05a0dd 100644 (file)
@@ -113,7 +113,7 @@ _tWinMain(HINSTANCE hInstance,
 
     MSG msg;
     HACCEL hAccelTable;
-    
+
     s_info.cbSize = sizeof( NONCLIENTMETRICS );
 
     InitCommonControls();
@@ -233,7 +233,7 @@ _tWinMain(HINSTANCE hInstance,
     return (int)msg.wParam;
 }
 
-ATOM 
+ATOM
 MyRegisterClass(HINSTANCE hInstance)
 {
     WNDCLASSEX wcex;
@@ -255,7 +255,7 @@ MyRegisterClass(HINSTANCE hInstance)
     return RegisterClassEx(&wcex);
 }
 
-BOOL 
+BOOL
 InitInstance(HINSTANCE hInstance, int nCmdShow)
 {
     HWND hWnd;
@@ -286,7 +286,7 @@ InitInstance(HINSTANCE hInstance, int nCmdShow)
     return TRUE;
 }
 
-ATOM 
+ATOM
 MyRegisterClass_wave(HINSTANCE hInstance)
 {
     WNDCLASSEX wcex;
@@ -308,7 +308,7 @@ MyRegisterClass_wave(HINSTANCE hInstance)
     return RegisterClassEx(&wcex);
 }
 
-BOOL 
+BOOL
 InitInstance_wave(HWND f,
                   HINSTANCE hInstance,
                   int nCmdShow)
@@ -343,7 +343,7 @@ InitInstance_wave(HWND f,
 }
 
 LRESULT
-CALLBACK 
+CALLBACK
 WndProc_wave(HWND hWnd,
              UINT message,
              WPARAM wParam,
@@ -426,7 +426,7 @@ WndProc_wave(HWND hWnd,
 }
 
 LRESULT
-CALLBACK 
+CALLBACK
 WndProc(HWND hWnd,
         UINT message,
         WPARAM wParam,
@@ -615,24 +615,24 @@ WndProc(HWND hWnd,
                     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;
+                    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_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;
+                case ID_FILE_EXIT:
+                    DestroyWindow(hWnd);
+                    break;
 
                 /* Sndrec32 buttons routines */
                 case BUTSTART_ID:
@@ -750,7 +750,7 @@ WndProc(HWND hWnd,
         case WM_TIMER:
             switch (wParam)
             {
-                case 1: 
+                case 1:
                     if (stopped_flag)
                     {
                         KillTimer(hWnd, 1);
@@ -841,7 +841,7 @@ WndProc(HWND hWnd,
             ExtTextOut(hdc,
                        STRBUF_X,
                        STRBUF_Y,
-                       ETO_OPAQUE, 
+                       ETO_OPAQUE,
                        0,
                        str_tmp,
                        _tcslen(str_tmp),
@@ -1115,7 +1115,7 @@ write_wav(TCHAR *f)
                    TEXT("File Error, WriteFile() failed."),
                    TEXT("ERROR"),
                    MB_OK | MB_ICONERROR);
-        
+
         CloseHandle(file);
         return FALSE;
     }
@@ -1127,7 +1127,7 @@ write_wav(TCHAR *f)
                    TEXT("File Error, WriteFile() failed."),
                    TEXT("ERROR"),
                    MB_OK | MB_ICONERROR);
-        
+
         CloseHandle(file);
         return FALSE;
     }