Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in...
authorSteven Edwards <winehacker@gmail.com>
Fri, 23 Sep 2005 06:04:44 +0000 (06:04 +0000)
committerSteven Edwards <winehacker@gmail.com>
Fri, 23 Sep 2005 06:04:44 +0000 (06:04 +0000)
svn path=/trunk/; revision=17998

reactos/subsys/system/notepad/main.c

index b278453..0b8191b 100644 (file)
@@ -345,7 +345,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
     class.hInstance     = Globals.hInstance;
     class.hIcon         = LoadIcon(0, IDI_APPLICATION);
     class.hCursor       = LoadCursor(0, IDC_ARROW);
-    class.hbrBackground = (HBRUSH)(COLOR_WINDOW);
+    class.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
     class.lpszMenuName  = MAKEINTRESOURCE(MAIN_MENU);
     class.lpszClassName = className;