From 2b6e2d97f4817e1d7c4af345fb289b88e1c0eda9 Mon Sep 17 00:00:00 2001 From: Jonathan Klee Date: Fri, 6 Feb 2015 20:09:28 +0100 Subject: [PATCH] fix version management --- ngp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ngp.c b/ngp.c index 05e3fa4..118094a 100644 --- a/ngp.c +++ b/ngp.c @@ -37,7 +37,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include #include -#define NGP_VERSION 1.1 +#define NGP_VERSION "1.2" #define CURSOR_UP 'k' #define CURSOR_DOWN 'j' @@ -854,7 +854,7 @@ void display_status(void) static void display_version(void) { - printf("version 1.1\n"); + printf("version %s\n", NGP_VERSION); } static void add_element(struct list **list, char *element)