diff --git a/utils/ccenter/archivers.c b/utils/ccenter/archivers.c index 84c711b..64543f5 100644 --- a/utils/ccenter/archivers.c +++ b/utils/ccenter/archivers.c @@ -151,7 +151,7 @@ void add_archiver() { conf.archivers[conf.archiver_count] = (struct archiver *)malloc(sizeof(struct archiver)); conf.archivers[conf.archiver_count]->name = strdup("New Archiver"); - conf.archivers[conf.archiver_count]->extension = strdup("NEW"); + conf.archivers[conf.archiver_count]->extension = strdup("new"); conf.archivers[conf.archiver_count]->unpack = strdup("newarc -u *a -d *d"); conf.archivers[conf.archiver_count]->pack = strdup("newarc -p *a -f *f"); conf.archiver_count++; diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index fcb810c..29a365d 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -407,6 +407,10 @@ char *message_editor() { od_set_cursor(3, 1); od_set_color(L_WHITE, D_BLACK); + if (position_y - top_of_screen > 20) { + top_of_screen = position_y - 20; + } + for (i=top_of_screen;i