This should really be
while( GetMessage( &msg, NULL, 0, 0 ) > 0 )
as GetMessage returns <0 on failure.
It will then break on failure or WM_QUIT
Just being anal though as GetMessage should never really fail ;)
-----Original Message-----
From:
mbosma@svn.reactos.org [mailto:mbosma@svn.reactos.org]
Sent:
03 January 2006 11:50
To:
ros-diffs@reactos.org
Subject:
[ros-diffs] [mbosma] 20543: fix typos.
+ while(GetMessage(&msg,NULL,0,0))