aboutsummaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1995-12-25 01:47:56 +0000
committerRichard M. Stallman <[email protected]>1995-12-25 01:47:56 +0000
commit3eb1dbb6efedcab224d930ac89d4bbff09a2f36b (patch)
treeb6d7201cd987312eb1404dd0ae205229cbff1811 /src/msdos.c
parent32b558fad310ed852405b77e1b2db6730c444e58 (diff)
(have_menus_p): Defined.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 13be3e89f0..5df46edf94 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -223,7 +223,7 @@ mouse_init ()
mouse_moveto (0, 0);
mouse_visible = 0;
}
-
+
/* ------------------------- Screen control ----------------------
*
*/
@@ -776,8 +776,6 @@ dos_get_saved_screen (screen, rows, cols)
return 0;
#endif
}
-
-
/* ----------------------- Keyboard control ----------------------
*
@@ -1619,9 +1617,17 @@ IT_menu_display (XMenu *menu, int y, int x, int *faces)
IT_cursor_to (row, col);
xfree (text);
}
-
+
/* --------------------------- X Menu emulation ---------------------- */
+/* Report availability of menus. */
+
+int
+have_menus_p ()
+{
+ return 1;
+}
+
/* Create a brand new menu structure. */
XMenu *
@@ -1853,8 +1859,7 @@ x_pixel_height (struct frame *f)
return FRAME_HEIGHT (f);
}
#endif /* !HAVE_X_WINDOWS */
-
-
+
/* ----------------------- DOS / UNIX conversion --------------------- */
/* Destructively turn backslashes into slashes. */
@@ -2308,8 +2313,7 @@ croak (badfunc)
reset_sys_modes ();
exit (1);
}
-
-
+
/* ------------------------- Compatibility functions -------------------
* gethostname
* gettimeofday