summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-08-06 19:37:35 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-08-06 19:37:35 +0200
commit7f35380ee3a39faad1f10fcbb6b115b8ddc5f2a7 (patch)
tree32ba72b0a01a0f5a2f2400c991af843175e2396d /include
parent400c9533b4f6e072b560345f7e4348d6a51106a9 (diff)
define KEYCODE_NONE and change value of KEYCODE_REL to -1
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 3dac69e..dfd36cc 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -642,7 +642,8 @@ int ui_password_prompt(char **passwordp);
*/
/* special keys */
-#define KEYCODE_REL (0x00) /* Key was released */
+#define KEYCODE_NONE (0x00)
+#define KEYCODE_REL (-1) /* Key was released */
/** Command flags */