Change GRID_DEBUG to use log_debug2 since log_debug3 was removed.

This commit is contained in:
Tiago Cunha 2009-07-22 17:33:02 +00:00
parent 6a97901691
commit a92993228f

4
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.378 2009-07-22 17:31:20 tcunha Exp $ */
/* $Id: tmux.h,v 1.379 2009-07-22 17:33:02 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -394,7 +394,7 @@ struct mode_key_data {
#if defined(DEBUG) && \
((defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
(defined(__GNUC__) && __GNUC__ >= 3))
#define GRID_DEBUG(gd, fmt, ...) log_debug3("%s: (sx=%u, sy=%u, hsize=%u) " \
#define GRID_DEBUG(gd, fmt, ...) log_debug2("%s: (sx=%u, sy=%u, hsize=%u) " \
fmt, __func__, (gd)->sx, (gd)->sy, (gd)->hsize, ## __VA_ARGS__)
#else
#define GRID_DEBUG(...)