[MSPAINT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Jan 2014 16:27:45 +0000 (16:27 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 7 Jan 2014 16:27:45 +0000 (16:27 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61556

reactos/base/applications/mspaint/dialogs.c
reactos/base/applications/mspaint/main.c
reactos/base/applications/mspaint/precomp.h
reactos/base/applications/mspaint/registry.c
reactos/base/applications/mspaint/winproc.c

index 6a3e4e7..7a7b4df 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "precomp.h"
 
+#include <winnls.h>
+
 /* FUNCTIONS ********************************************************/
 
 LRESULT CALLBACK
index ccd991d..55bd9d4 100644 (file)
 
 #include "precomp.h"
 
+#include "winproc.h"
+#include "palette.h"
+#include "toolsettings.h"
+#include "selection.h"
+#include "sizebox.h"
+
 /* FUNCTIONS ********************************************************/
 
 HDC hDrawingDC;
index 7fce478..0221d2b 100644 (file)
@@ -1,13 +1,11 @@
 #include <stdarg.h>
+
 #include <windef.h>
 #include <winbase.h>
 #include <winuser.h>
-#include <winnls.h>
-#include <winreg.h>
 #include <wingdi.h>
 #include <windowsx.h>
 #include <commdlg.h>
-#include <shellapi.h>
 #include <commctrl.h>
 #include <tchar.h>
 #include <stdlib.h>
 #include "globalvar.h"
 #include "history.h"
 #include "mouse.h"
-#include "winproc.h"
-#include "palette.h"
-#include "toolsettings.h"
-#include "selection.h"
-#include "sizebox.h"
-#include "dialogs.h"
-#include "registry.h"
index 9da17c9..06bc840 100644 (file)
@@ -10,6 +10,8 @@
 
 #include "precomp.h"
 
+#include <winreg.h>
+
 /* FUNCTIONS ********************************************************/
 
 void
index 9ee8376..a68b268 100644 (file)
@@ -9,9 +9,13 @@
 
 /* INCLUDES *********************************************************/
 
-//#include <htmlhelp.h>
 #include "precomp.h"
 
+#include <shellapi.h>
+
+#include "dialogs.h"
+#include "registry.h"
+
 /* FUNCTIONS ********************************************************/
 
 void