]> granicus.if.org Git - nethack/commitdiff
fix commented-out debugging code
authorPatR <rankin@nethack.org>
Wed, 26 Aug 2020 21:47:02 +0000 (14:47 -0700)
committerPatR <rankin@nethack.org>
Wed, 26 Aug 2020 21:47:02 +0000 (14:47 -0700)
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.

win/Qt/qt_key.cpp

index 480fe7f4f6aca5530b1861b3cb699139573d4bb7..f882b458e83a340c74b9e52fef78969bbbf4dab2 100644 (file)
@@ -25,7 +25,7 @@ bool NetHackQtKeyBuffer::Full() const { return (in+1)%maxkey==out; }
 
 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
     key[in] = k;
     ascii[in] = a;