map debug

This commit is contained in:
Mario Fetka
2026-05-22 13:04:50 +02:00
parent b2da728f4b
commit 417716a36f

7
map.c
View File

@@ -173,8 +173,11 @@ int func_map(int argc, char *argv[], int mode)
if (!ipx_init()) argc = 1;
if (!parse_argv(drvstr, &nwpath, argc, argv, 0, mode)) {
if (*(nwpath.path) || mode==1) {
if (do_map(*drvstr - 'A', &nwpath, mode)< 0)
fprintf(stderr, "MAP Error\n");
{
int rc = do_map(*drvstr - 'A', &nwpath, mode);
if (rc < 0)
fprintf(stderr, "MAP Error rc=%d\n", rc);
}
}
if (mode != 1)
show_map(drvstr);