* edit-widget.h: Use PATH_SEP_STR.

This commit is contained in:
Andrew V. Samoilov 2002-01-15 01:43:50 +00:00
parent e41f4c01e4
commit 1e5b1bfde1
2 changed files with 9 additions and 7 deletions

View File

@ -16,6 +16,8 @@
* edit.h (struct context_rule): Comment out single_char field. * edit.h (struct context_rule): Comment out single_char field.
It is written once but never read. It is written once but never read.
* edit-widget.h: Use PATH_SEP_STR.
2001-12-22 Andrew V. Samoilov <kai@cmail.ru> 2001-12-22 Andrew V. Samoilov <kai@cmail.ru>
* editcmd.c (edit_goto_cmd): Use g_free to release f. * editcmd.c (edit_goto_cmd): Use g_free to release f.

View File

@ -121,12 +121,12 @@ struct editor_widget {
typedef struct editor_widget WEdit; typedef struct editor_widget WEdit;
#define EDIT_DIR "/.mc/cedit" #define EDIT_DIR PATH_SEP_STR ".mc" PATH_SEP_STR "cedit"
#define SYNTAX_FILE EDIT_DIR "/Syntax" #define SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
#define CLIP_FILE EDIT_DIR "/cooledit.clip" #define CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
#define MACRO_FILE EDIT_DIR "/cooledit.macros" #define MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
#define BLOCK_FILE EDIT_DIR "/cooledit.block" #define BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
#define ERROR_FILE EDIT_DIR "/cooledit.error" #define ERROR_FILE EDIT_DIR PATH_SEP_STR "cooledit.error"
#define TEMP_FILE EDIT_DIR "/cooledit.temp" #define TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
#endif /* !__EDIT_WIDGET_H */ #endif /* !__EDIT_WIDGET_H */