Refix order of maps

This commit is contained in:
pancake 2017-09-17 02:59:18 +02:00
parent 85744e8ae6
commit d30d23f5f1

View File

@ -418,7 +418,7 @@ static void map_list(RIO *io, int mode, RPrint *print, int fd) {
print->cb_printf ("[");
}
bool first = true;
ls_foreach_prev (io->maps, iter, map) { //this must be prev
ls_foreach (io->maps, iter, map) { //this must be prev
if (fd != -1 && map->fd != fd) {
continue;
}