Mcedit: changed some #include's. This makes it possible to remove some

-I options from makefiles, at least for the PC port
This commit is contained in:
Pavel Machek 1998-05-12 16:47:52 +00:00
parent c278a2c3a7
commit 0a4550ca9f
6 changed files with 21 additions and 21 deletions

View File

@ -1636,7 +1636,7 @@ int edit_translate_key (WEdit * edit, unsigned int x_keycode, long x_key, int x_
int command = -1;
int char_for_insertion = -1;
#include "edit/edit_key_translator.c"
#include "edit_key_translator.c"
*cmd = command;
*ch = char_for_insertion;

View File

@ -14,7 +14,7 @@
# include <unistd.h>
# endif
# include <string.h>
# include "src/tty.h"
# include "../src/tty.h"
# include <sys/stat.h>
# include <errno.h>
@ -75,21 +75,21 @@
#else
# include "src/main.h" /* for char *shell */
# include "src/mad.h"
# include "src/dlg.h"
# include "src/widget.h"
# include "src/color.h"
# include "src/dialog.h"
# include "src/mouse.h"
# include "src/global.h"
# include "src/help.h"
# include "src/key.h"
# include "src/wtools.h" /* for QuickWidgets */
# include "src/win.h"
# include "vfs/vfs.h"
# include "src/menu.h"
# include "src/regex.h"
# include "../src/main.h" /* for char *shell */
# include "../src/mad.h"
# include "../src/dlg.h"
# include "../src/widget.h"
# include "../src/color.h"
# include "../src/dialog.h"
# include "../src/mouse.h"
# include "../src/global.h"
# include "../src/help.h"
# include "../src/key.h"
# include "../src/wtools.h" /* for QuickWidgets */
# include "../src/win.h"
# include "../vfs/vfs.h"
# include "../src/menu.h"
# include "../src/regex.h"
# define WANT_WIDGETS
# define WIDGET_COMMAND (WIDGET_USER + 10)

View File

@ -71,7 +71,7 @@ char *strcasechr (const unsigned char *s, int c)
}
#include "src/mad.h"
#include "../src/mad.h"
#ifndef HAVE_MEMMOVE
/* for Christophe */

View File

@ -27,7 +27,7 @@
#include "app_glob.c"
#include "coollocal.h"
#else
#include "src/mad.h"
#include "../src/mad.h"
#endif

View File

@ -26,7 +26,7 @@
#ifdef MIDNIGHT
#include "src/mad.h"
#include "../src/mad.h"
extern int edit_key_emulation;
extern WEdit *wedit;

View File

@ -28,7 +28,7 @@
#define USE_INTERNAL_EDIT 1
#endif
#include "src/main.h" /* extern int option_this_and_that ... */
#include "../src/main.h" /* extern int option_this_and_that ... */
char *key_emu_str[] =
{"Intuitive", "Emacs"};