fix commented-out debugging code
I was actually using fprintf(stderr,...) when testing and didn't retry this bit after changing it to raw_printf(...). It's commented out but needs fixing.
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ bool NetHackQtKeyBuffer::Full() const { return (in+1)%maxkey==out; }
|
|||||||
|
|
||||||
void NetHackQtKeyBuffer::Put(int k, int a, uint kbstate)
|
void NetHackQtKeyBuffer::Put(int k, int a, uint kbstate)
|
||||||
{
|
{
|
||||||
//raw_fprintf("k:%3d a:%3d s:0x%08x\n", k, a, kbstate);
|
//raw_printf("k:%3d a:%3d s:0x%08x", k, a, kbstate);
|
||||||
if ( Full() ) return; // Safety
|
if ( Full() ) return; // Safety
|
||||||
key[in] = k;
|
key[in] = k;
|
||||||
ascii[in] = a;
|
ascii[in] = a;
|
||||||
|
|||||||
Reference in New Issue
Block a user