diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-21 21:37:06 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-21 21:37:06 -0400 |
| commit | 58db287ca283a48bb19de359de81df60b4284158 (patch) | |
| tree | 58ffa0f1a929cdc7328675cb422dcddac03edc98 /redo/controls_windows.c | |
| parent | 451536f6a59656f8695220be87f6de487d1b2ae6 (diff) | |
Fixed the RemoveWindowSubclass() crash in Windows Checkboxes.
Diffstat (limited to 'redo/controls_windows.c')
| -rw-r--r-- | redo/controls_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/controls_windows.c b/redo/controls_windows.c index 2c5934d..b3edb71 100644 --- a/redo/controls_windows.c +++ b/redo/controls_windows.c @@ -93,7 +93,7 @@ static LRESULT CALLBACK checkboxSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPA } return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); case WM_NCDESTROY: - if ((*fv_RemoveWindowSubclass)(hwnd, buttonSubProc, id) == FALSE) + if ((*fv_RemoveWindowSubclass)(hwnd, checkboxSubProc, id) == FALSE) xpanic("error removing Checkbox subclass (which was for its own event handler)", GetLastError()); return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam); default: |
