From 914e534b10a98d0fcb47ffb3a9ee08ef3373e768 Mon Sep 17 00:00:00 2001 From: Nemh Date: Sun, 7 Jun 2015 21:47:52 +0200 Subject: [PATCH] Add of the url of the project topic, and some cleaning --- config.c | 13 +++++++------ console.c | 8 -------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/config.c b/config.c index c09808d..8dbbaaa 100644 --- a/config.c +++ b/config.c @@ -103,13 +103,14 @@ void menu_setup() void menu_about() { int key; - PopUpWin(5); + PopUpWin(6); PrintMini(12, 6, (unsigned char*)"Eigenmath symbolic maths", MINI_OVER); - PrintMini(51, 13, (unsigned char*)"engine", MINI_OVER); - PrintMini(12, 20, (unsigned char*)"Ported by Mike.", MINI_OVER); - PrintMini(12, 27, (unsigned char*)"Enhanced by Nemh and the", MINI_OVER); - PrintMini(38, 34, (unsigned char*)"PC community.", MINI_OVER); - PrintMini(40, 41, (unsigned char*)"Early build", MINI_OVER); + PrintMini(51, 14, (unsigned char*)"engine", MINI_OVER); + PrintMini(12, 22, (unsigned char*)"Ported by Mike.", MINI_OVER); + PrintMini(12, 30, (unsigned char*)"Enhanced by Nemh and the", MINI_OVER); + PrintMini(38, 38, (unsigned char*)"PC community.", MINI_OVER); + PrintMini(40, 46, (unsigned char*)"Early build", MINI_OVER); + PrintMini(12, 54, (unsigned char*)"See : http://huit.re/eigen", MINI_OVER); GetKey(&key); return; } diff --git a/console.c b/console.c index 7274440..30590c1 100644 --- a/console.c +++ b/console.c @@ -628,10 +628,8 @@ int Console_GetKey() if (key == KEY_CTRL_EXE) { -#ifdef POPUP_PRETTY if(Line[Current_Line].tex_flag) Console_Draw_TeX_Popup(Line[Current_Line].tex_str, Line[Current_Line].tex_width, Line[Current_Line].tex_height); else { -#endif if (Current_Line == Last_Line) { return Console_NewLine(LINE_TYPE_INPUT, 1); @@ -640,19 +638,15 @@ int Console_GetKey() { return CONSOLE_ARG_ERR; } -#ifdef POPUP_PRETTY } -#endif } if (key == KEY_CTRL_DEL) return Console_Backspace(); if (key == KEY_CTRL_CLIP) { -#ifdef POPUP_PRETTY if(Line[Current_Line].tex_flag) Console_Draw_TeX_Popup(Line[Current_Line].tex_str, Line[Current_Line].tex_width, Line[Current_Line].tex_height); else { -#endif tmp = Line[Current_Line].str; move_line = Last_Line - Current_Line; @@ -662,9 +656,7 @@ int Console_GetKey() for (i = 0; i <= move_col; i++) Console_MoveCursor(CURSOR_RIGHT); Console_Input(tmp); -#ifdef POPUP_PRETTY } -#endif } return CONSOLE_NO_EVENT;