summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 8adb6ff..7aa2128 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -23,6 +23,10 @@
#include "data.h"
+/* codes used in the cmdret code in actions.c */
+#define RET_SUCCESS 0
+#define RET_FAILURE 1
+
#define FONT_HEIGHT(f) ((f)->max_bounds.ascent + (f)->max_bounds.descent)
#define MAX_FONT_WIDTH(f) ((f)->max_bounds.width)