summaryrefslogtreecommitdiffstats
path: root/src/os_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index d214a4aaf1..67dad2e689 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -250,9 +250,9 @@ typedef struct dsc$descriptor DESC;
#endif
#ifndef XDG_VIMRC_FILE
-# define XDG_VIMRC_FILE mch_getenv("XDG_CONFIG_HOME") \
- ? (char_u *)"$XDG_CONFIG_HOME/vim/vimrc" \
- : (char_u *)"~/.config/vim/vimrc"
+# define XDG_VIMRC_FILE (mch_getenv("XDG_CONFIG_HOME") \
+ ? "$XDG_CONFIG_HOME/vim/vimrc" \
+ : "~/.config/vim/vimrc")
#endif
#if !defined(USR_VIMRC_FILE3) && defined(VMS)