diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-05-12 00:17:25 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-05-17 18:15:58 +0100 |
commit | 2db39b1f7d813fa7a3fbe22744ff2d56463f81b7 (patch) | |
tree | 278b9d3e99f0cd5c0837fe90cd927656eac581a8 /frontends/windows/windbg.h | |
parent | a5e4bf82202b6352d89ba5e7bbf2f04b2c3ee786 (diff) | |
download | netsurf-2db39b1f7d813fa7a3fbe22744ff2d56463f81b7.tar.gz netsurf-2db39b1f7d813fa7a3fbe22744ff2d56463f81b7.tar.bz2 |
quieten down windows debug
Diffstat (limited to 'frontends/windows/windbg.h')
-rw-r--r-- | frontends/windows/windbg.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/frontends/windows/windbg.h b/frontends/windows/windbg.h index 6cd9f97f8..f09cea9e6 100644 --- a/frontends/windows/windbg.h +++ b/frontends/windows/windbg.h @@ -16,20 +16,25 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _NETSURF_WINDOWS_WINDBG_H_ -#define _NETSURF_WINDOWS_WINDBG_H_ +#ifndef NETSURF_WINDOWS_WINDBG_H +#define NETSURF_WINDOWS_WINDBG_H #include "utils/log.h" const char *msg_num_to_name(int msg); void win_perror(const char *lpszFunction); +/** + * log windows message + * + * log a windows message with symbols converted to human redable + */ #define LOG_WIN_MSG(h, m, w, l) \ if (((m) != WM_SETCURSOR) && \ ((m) != WM_MOUSEMOVE) && \ ((m) != WM_NCHITTEST) && \ ((m) != WM_ENTERIDLE)) \ - NSLOG(netsurf, INFO, \ + NSLOG(netsurf, DEBUG, \ "%s, hwnd %p, w 0x%x, l 0x%Ix", \ msg_num_to_name(m), h, w, l) |