--- xmil/MacOSX/dialog/d_bmp.cpp 2004/08/10 14:38:57 1.1 +++ xmil/MacOSX/dialog/d_bmp.cpp 2005/02/07 16:09:19 1.2 @@ -1,7 +1,7 @@ #include "compiler.h" #include "strres.h" #include "resource.h" -#include "np2.h" +#include "xmil.h" #include "dosio.h" #include "sysmng.h" #include "dialog.h" @@ -9,22 +9,8 @@ #include "pccore.h" #include "iocore.h" #include "scrnsave.h" -#include "font.h" -void dialog_font(void) { - - char path[MAX_PATH]; - - if (dlgs_selectfile(path, sizeof(path))) { - if (font_load(path, FALSE)) { - gdcs.textdisp |= GDCSCRN_ALLDRAW2; - milstr_ncpy(np2cfg.fontfile, path, sizeof(np2cfg.fontfile)); - sysmng_update(SYS_UPDATECFG); - } - } -} - void dialog_writebmp(void) { SCRNSAVE ss; @@ -35,7 +21,7 @@ const char *ext; if (ss == NULL) { return; } - if (dlgs_selectwritefile(path, sizeof(path), "np2.bmp")) { + if (dlgs_selectwritefile(path, sizeof(path), "xmil.bmp", FTYPE_BMP, hWndMain)) { ext = file_getext(path); if ((ss->type <= SCRNSAVE_8BIT) && (!file_cmpname(ext, "gif"))) {