diff --git a/Hexdiff/Makefile b/Hexdiff/Makefile index bb0d30d..bb3931b 100644 --- a/Hexdiff/Makefile +++ b/Hexdiff/Makefile @@ -4,9 +4,11 @@ # # old site : http://tboudet.free.fr/hexdiff/ # +# https://git.tetalab.org/tTh/KlugyTools/src/branch/main/Hexdiff +# OU_LE_METTRE = /usr/local -VERSION=0.0.50 +VERSION=0.0.51 TARNAME="hexdiff-$(VERSION).tar.gz" diff --git a/Hexdiff/asciiview.c b/Hexdiff/asciiview.c index 0042267..548afb4 100644 --- a/Hexdiff/asciiview.c +++ b/Hexdiff/asciiview.c @@ -162,9 +162,11 @@ do fenetre_active ^= 1; break; case KEY_UP: - if (clig>0) clig--; break; + if (clig>0) clig--; + break; case KEY_DOWN: - if (clig<15) clig++; break; + if (clig<15) clig++; + break; case KEY_LEFT: if (ccol>0) ccol--; else if (clig>0) diff --git a/Hexdiff/fonctions.c b/Hexdiff/fonctions.c index fde1fc9..cbd0212 100644 --- a/Hexdiff/fonctions.c +++ b/Hexdiff/fonctions.c @@ -125,7 +125,7 @@ char buffer[200]; barre_inverse(' ', 0); standout(); -mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2007 "); +mvaddstr(0, 2, " Visuel HexDiff v " VERSION " by tTh 2023 "); #if TRACE sprintf(buffer, " screen size %dx%d ", COLS, LINES); foo = strlen(buffer); @@ -211,8 +211,9 @@ delwin(popup); static char *about_texte[] = { "Visuel Hexdiff - version " VERSION, - "(c) 2007 by Thierry [tth] Boudet", + "(c) 2023 by Thierry [tTh] Boudet", "http://tboudet.free.fr/hexdiff/", + "https://git.tetalab.org/tTh/KlugyTools/", "send bugs reports: tontonth@free.fr", "binary build: " __DATE__ "/" __TIME__, }; @@ -227,7 +228,7 @@ int foo; fprintf(stderr, "boite about: %d lignes\n", nblignes); #endif -popup = newwin((nblignes*2)+3, 43, L_POPUP, C_POPUP); +popup = newwin((nblignes*2)+3, 46, L_POPUP, C_POPUP); bordure(popup); for (foo=0; foo