1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 15:26:23 -05:00

Put back the Micro in uEMACS both in status line and version string (ue --version).

This commit is contained in:
Renaud 2015-02-02 19:20:48 +08:00
parent 91455a2e5a
commit 83b323272d
2 changed files with 4 additions and 3 deletions

View File

@ -1155,9 +1155,10 @@ static void modeline(struct window *wp)
else else
vtputc(lchar); vtputc(lchar);
n = 2; vtputc( ' ') ;
n = 3 ;
cp = " " PROGRAM_NAME_LONG " " VERSION ": " ; cp = &PROGRAM_NAME_LONG " " VERSION ": " [ 1] ; /* Start past utf8 mark */
while ((c = *cp++) != 0) { while ((c = *cp++) != 0) {
vtputc(c); vtputc(c);
++n; ++n;

View File

@ -9,7 +9,7 @@
# define PROGRAM_NAME "em" # define PROGRAM_NAME "em"
#endif #endif
#define PROGRAM_NAME_LONG "uEMACS" #define PROGRAM_NAME_LONG "\xC2\xB5""EMACS" /* utf8 µEMACS */
#define VERSION "4.1.1" #define VERSION "4.1.1"