git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
apps
/
tests
/
bitblt
/
bitblt.c
diff --git
a/apps/tests/bitblt/bitblt.c
b/apps/tests/bitblt/bitblt.c
index
d8d2424
..
90f4d2f
100644
(file)
--- a/
apps/tests/bitblt/bitblt.c
+++ b/
apps/tests/bitblt/bitblt.c
@@
-22,9
+22,11
@@
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance,
LPTSTR lpCmdLine, int nCmdShow)
{
+ WNDCLASS wc;
+ MSG msg;
+
HInst = HInstance;
HInst = HInstance;
- WNDCLASS wc;
memset(&wc, 0, sizeof(WNDCLASS));
wc.style = CS_VREDRAW | CS_HREDRAW | CS_DBLCLKS;
memset(&wc, 0, sizeof(WNDCLASS));
wc.style = CS_VREDRAW | CS_HREDRAW | CS_DBLCLKS;
@@
-51,7
+53,6
@@
int APIENTRY WinMain(HINSTANCE HInstance, HINSTANCE HPrevInstance,
ShowWindow(HWnd, nCmdShow);
UpdateWindow(HWnd);
ShowWindow(HWnd, nCmdShow);
UpdateWindow(HWnd);
- MSG msg;
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);