summaryrefslogtreecommitdiff
path: root/testing/toxic/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/main.c')
-rw-r--r--testing/toxic/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c
index 1ba8b6c9..2bf16769 100644
--- a/testing/toxic/main.c
+++ b/testing/toxic/main.c
@@ -22,6 +22,7 @@ extern int add_req(uint8_t *public_key); // XXX
22 22
23/* Holds status of chat windows */ 23/* Holds status of chat windows */
24char WINDOW_STATUS[MAX_WINDOW_SLOTS]; 24char WINDOW_STATUS[MAX_WINDOW_SLOTS];
25#define TOXICVER "0.1.0" //Will be moved to a -D flag later
25 26
26static ToxWindow windows[MAX_WINDOW_SLOTS]; 27static ToxWindow windows[MAX_WINDOW_SLOTS];
27static ToxWindow* prompt; 28static ToxWindow* prompt;
@@ -257,7 +258,7 @@ static void draw_bar()
257 move(LINES - 1, 0); 258 move(LINES - 1, 0);
258 259
259 attron(COLOR_PAIR(4) | A_BOLD); 260 attron(COLOR_PAIR(4) | A_BOLD);
260 printw(" TOXIC 1.0 |"); 261 printw(" TOXIC " TOXICVER " |");
261 attroff(COLOR_PAIR(4) | A_BOLD); 262 attroff(COLOR_PAIR(4) | A_BOLD);
262 263
263 int i; 264 int i;