Fix debugging ErrorF() so it compiles when DEBUG is true.
This commit is contained in:
parent
ff433adba3
commit
9bd876768b
|
@ -48,6 +48,7 @@
|
||||||
* authorization from the copyright holder(s) and author(s).
|
* authorization from the copyright holder(s) and author(s).
|
||||||
*/
|
*/
|
||||||
/* $XConsortium: xf86Xinput.c /main/14 1996/10/27 11:05:25 kaleb $ */
|
/* $XConsortium: xf86Xinput.c /main/14 1996/10/27 11:05:25 kaleb $ */
|
||||||
|
/* $XdotOrg: $ */
|
||||||
|
|
||||||
#include "Xfuncproto.h"
|
#include "Xfuncproto.h"
|
||||||
#include "Xmd.h"
|
#include "Xmd.h"
|
||||||
|
@ -205,7 +206,7 @@ xf86CheckButton(int button,
|
||||||
|
|
||||||
DBG(5, ErrorF("xf86CheckButton "
|
DBG(5, ErrorF("xf86CheckButton "
|
||||||
"button=%d down=%d state=%d check=%d returns ",
|
"button=%d down=%d state=%d check=%d returns ",
|
||||||
button, down, state, check));
|
button, down, xf86CoreButtonState, check));
|
||||||
if ((check && down) || (!check && !down)) {
|
if ((check && down) || (!check && !down)) {
|
||||||
DBG(5, ErrorF("FALSE\n"));
|
DBG(5, ErrorF("FALSE\n"));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue