changeset 9848:c616ebcda25a

Don't give the initial / as part of the filename.
author albeu
date Sun, 06 Apr 2003 16:27:14 +0000
parents a9055db95779
children 5b649442fe72
files m_option.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m_option.c	Sun Apr 06 16:22:34 2003 +0000
+++ b/m_option.c	Sun Apr 06 16:27:14 2003 +0000
@@ -1617,7 +1617,7 @@
 	// skip
       } else {
 	if(dst) {
-	  r = m_struct_set(desc,dst,"filename",ptr2);
+	  r = m_struct_set(desc,dst,"filename",ptr2+1);
 	  if(r < 0) {
 	    mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: error while setting filename\n");
 	    return r;