projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
db47508
)
unguarded debug printf. added the appropiate if statement
author
Arun Persaud
<arun@nubati.net>
Mon, 26 Oct 2009 06:37:48 +0000 (23:37 -0700)
committer
Arun Persaud
<arun@nubati.net>
Mon, 26 Oct 2009 06:37:48 +0000 (23:37 -0700)
parser.l
patch
|
blob
|
history
diff --git
a/parser.l
b/parser.l
index
7e42f8a
..
bfa1a17
100755
(executable)
--- a/
parser.l
+++ b/
parser.l
@@
-706,7
+706,10
@@
extern void CopyBoard P((Board to, Board from));
ff = initialRights[5];
\r
ft = initialRights[4];
\r
}
\r
- fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft);
\r
+ if (appData.debugMode)
\r
+ {
\r
+ fprintf(debugFP, "Parser FRC long %d %d\n", ff, ft);
\r
+ };
\r
if(ff < 0 || ft < 0) return 0;
\r
}
\r
sprintf(currentMoveString, "%c%c%c%c",ff+AAA,rf+ONE,ft+AAA,rt+ONE);
\r