foxygit / doom Log in
commit e85edb9e6fcdc77d69d1b4d9f14f705a03e753e1
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Fri Mar 28 00:37:17 2014 -0400
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Fri Mar 28 00:37:17 2014 -0400

    textscreen: Add label for PrintScreen key.

    Needed to properly fix bug #369.
---
 textscreen/txt_sdl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/textscreen/txt_sdl.c b/textscreen/txt_sdl.c
index 4ff24fcf..0fb8d722 100644
--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -725,6 +725,7 @@ static const char *SpecialKeyName(int key)
         case KEY_PGDN:        return "PGDN";
         case KEY_INS:         return "INS";
         case KEY_DEL:         return "DEL";
+        case KEY_PRTSCR:      return "PRTSC";
                  /*
         case KEYP_0:          return "PAD0";
         case KEYP_1:          return "PAD1";