(edit_get_match_keyword_cmd): use PATH_SEP_STR instead of G_DIR_SEPARATOR_S.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2015-01-07 10:17:09 +03:00
parent 454479549c
commit 990e3053b3

View File

@ -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)); g_string_append_c (match_expr, edit_buffer_get_byte (&edit->buffer, word_start + i));
ptr = g_get_current_dir (); 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); g_free (ptr);
/* Recursive search file 'TAGS' in parent dirs */ /* Recursive search file 'TAGS' in parent dirs */
@ -3547,7 +3547,7 @@ edit_get_match_keyword_cmd (WEdit * edit)
if (exist_file (tagfile)) if (exist_file (tagfile))
break; break;
} }
while (strcmp (path, G_DIR_SEPARATOR_S) != 0); while (strcmp (path, PATH_SEP_STR) != 0);
if (tagfile) if (tagfile)
{ {