From 990e3053b3a8d46b17d6bc8926dcfd496fe88c5e Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 7 Jan 2015 10:17:09 +0300 Subject: [PATCH] (edit_get_match_keyword_cmd): use PATH_SEP_STR instead of G_DIR_SEPARATOR_S. Signed-off-by: Andrew Borodin --- src/editor/editcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c index 2e5137360..5fcc78e4c 100644 --- a/src/editor/editcmd.c +++ b/src/editor/editcmd.c @@ -3533,7 +3533,7 @@ edit_get_match_keyword_cmd (WEdit * edit) g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i)); ptr = g_get_current_dir (); - path = g_strconcat (ptr, G_DIR_SEPARATOR_S, (char *) NULL); + path = g_strconcat (ptr, PATH_SEP_STR, (char *) NULL); g_free (ptr); /* Recursive search file 'TAGS' in parent dirs */ @@ -3547,7 +3547,7 @@ edit_get_match_keyword_cmd (WEdit * edit) if (exist_file (tagfile)) break; } - while (strcmp (path, G_DIR_SEPARATOR_S) != 0); + while (strcmp (path, PATH_SEP_STR) != 0); if (tagfile) {