diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-05 22:23:39 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-05 22:23:39 -0500 |
| commit | 3232b47b436fe827de4c456e8cee20290a09bbf3 (patch) | |
| tree | 2bdbd221a1f8e172dbda225b936e58d9504c731c /wintable/new/util.h | |
| parent | 51e6028951bfb88f072a795fc1988879b15b74c9 (diff) | |
Readded main code (but stripped to its essentials for now, as everything will be slowly readded, but in a different order) and fixed compilation errors (and some warnings).
Diffstat (limited to 'wintable/new/util.h')
| -rw-r--r-- | wintable/new/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/new/util.h b/wintable/new/util.h index c6cbfb3..2bcfd94 100644 --- a/wintable/new/util.h +++ b/wintable/new/util.h @@ -3,7 +3,7 @@ typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *); #define HANDLER(name) static BOOL name(struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) -static BOOL runHandlers(handlerfunc *list, struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) +static BOOL runHandlers(const handlerfunc list[], struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult) { handlerfunc *p; |
