mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
add more cases to messageToBuf. Effects debug build only.
This commit is contained in:
parent
ef941e2c75
commit
8c86ba26d8
1 changed files with 10 additions and 1 deletions
|
@ -2316,6 +2316,15 @@ messageToBuf( UINT message, char* buf, int bufSize )
|
|||
STRCASE(WM_WINDOWPOSCHANGING);
|
||||
STRCASE(WM_SETFOCUS);
|
||||
STRCASE(WM_WINDOWPOSCHANGED);
|
||||
STRCASE(WM_PAINT);
|
||||
STRCASE(WM_VSCROLL);
|
||||
STRCASE(WM_LBUTTONDOWN);
|
||||
STRCASE(WM_LBUTTONUP);
|
||||
STRCASE(WM_INITMENUPOPUP);
|
||||
STRCASE(WM_CANCELMODE);
|
||||
STRCASE(WM_EXITMENULOOP);
|
||||
STRCASE(WM_KILLFOCUS);
|
||||
STRCASE(WM_ERASEBKGND);
|
||||
default:
|
||||
snprintf( buf, bufSize, "%d", message );
|
||||
return;
|
||||
|
@ -2324,7 +2333,7 @@ messageToBuf( UINT message, char* buf, int bufSize )
|
|||
if ( !!str ) {
|
||||
snprintf( buf, bufSize, "%s", str );
|
||||
}
|
||||
}
|
||||
} /* messageToBuf */
|
||||
#endif
|
||||
|
||||
XP_U16
|
||||
|
|
Loading…
Add table
Reference in a new issue