diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..539f981 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +obj/ diff --git a/src/config.c b/src/config.c index 4ad4bd1..d001675 100644 --- a/src/config.c +++ b/src/config.c @@ -1711,10 +1711,10 @@ void main (void) { backdrop(PROGNAME); window(" Main Menu ", 26, 15, 0); - gotoy(y+5); gotox(8); - repeatchar(CHAR_BORDER_BOTTOM, 24); - gotoy(y+10); gotox(8); - repeatchar(CHAR_BORDER_BOTTOM, 24); + gotoy(y+4); gotox(7); + repeatchar(CHAR_SEPARATOR, 26); + gotoy(y+9); gotox(7); + repeatchar(CHAR_SEPARATOR, 26); } if(paint_menu) { gotoy(y+0); gotox(8); diff --git a/src/menu.c b/src/menu.c index 1466344..c561bc8 100644 --- a/src/menu.c +++ b/src/menu.c @@ -186,8 +186,8 @@ void main (void) { break; case MENU_SEPARATOR: if(separator_allowed) { - gotoy(window_top+y); gotox(8); - repeatchar(CHAR_BORDER_BOTTOM, 24); + gotoy(window_top+y-1); gotox(8); + repeatchar(CHAR_SEPARATOR, 24); y++; separator_allowed = 0; } diff --git a/src/menu.h b/src/menu.h index fff99fc..6c05a18 100644 --- a/src/menu.h +++ b/src/menu.h @@ -3,6 +3,7 @@ #if defined(__APPLE2ENH__) #define CHAR_CURSOR 0x7F + #define CHAR_SEPARATOR '_' #define CHAR_BAR_MIDDLE 0xD3 #define CHAR_BORDER_BOTTOM 0xCC #define CHAR_TITLEBAR_ENCLOSED 0xDC @@ -22,6 +23,7 @@ #define CHAR_BORDER_BOTTOM_RIGHT ' ' #else #define CHAR_CURSOR (' '|0x80) + #define CHAR_SEPARATOR '_' #define CHAR_BAR_MIDDLE '-' #define CHAR_BORDER_BOTTOM '-' #define CHAR_TITLEBAR_ENCLOSED '-'