Skip to content

Commit 1cbea49

Browse files
committed
Prepare for version 1.2.
1 parent e27e5c3 commit 1cbea49

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

Readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ sending any questions.
4343

4444
Changelog
4545

46+
2013�09-07: Version 1.2
47+
48+
� Removed superfluous LOWORD() macros which had been applied to WPARAMs.
49+
4650
2013�08�26: Version 1.1
4751

4852
� Added a VERSIONINFO resource to the executable, so that version information
@@ -55,4 +59,4 @@ Changelog
5559
� First release.
5660

5761
Martin Payne
58-
2013�08�26
62+
2013�09-07

callback.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
1111
{
1212
case WM_COMMAND:
1313
{
14-
switch (LOWORD(wParam))
14+
switch (wParam)
1515
{
1616
case ID_HELP_ABOUT:
1717
{
@@ -39,7 +39,7 @@ LRESULT CALLBACK MainWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
3939

4040
case WM_SYSCOMMAND:
4141
{
42-
switch (LOWORD(wParam))
42+
switch (wParam)
4343
{
4444
case ID_HELP_ABOUT:
4545
{
@@ -81,12 +81,12 @@ BOOL CALLBACK AboutDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
8181
{
8282
case WM_COMMAND:
8383
{
84-
switch (LOWORD(wParam))
84+
switch (wParam)
8585
{
8686
case IDOK:
8787
case IDCANCEL:
8888
{
89-
EndDialog(hwndDlg, LOWORD(wParam));
89+
EndDialog(hwndDlg, wParam);
9090
return TRUE;
9191
}
9292
}

0 commit comments

Comments
 (0)