Fix debugging ErrorF() so it compiles when DEBUG is true.

This commit is contained in:
Alan Coopersmith 2005-01-19 22:23:20 +00:00
parent ff433adba3
commit 9bd876768b

View File

@ -48,6 +48,7 @@
* authorization from the copyright holder(s) and author(s).
*/
/* $XConsortium: xf86Xinput.c /main/14 1996/10/27 11:05:25 kaleb $ */
/* $XdotOrg: $ */
#include "Xfuncproto.h"
#include "Xmd.h"
@ -205,7 +206,7 @@ xf86CheckButton(int button,
DBG(5, ErrorF("xf86CheckButton "
"button=%d down=%d state=%d check=%d returns ",
button, down, state, check));
button, down, xf86CoreButtonState, check));
if ((check && down) || (!check && !down)) {
DBG(5, ErrorF("FALSE\n"));
return FALSE;