diff options
author | phintuka <phintuka> | 2006-12-23 09:44:45 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-12-23 09:44:45 +0000 |
commit | 2e841e7e83706c74acb5a5e69d184a3210aab973 (patch) | |
tree | d156851397f760471f0e8adae02d5ca451c8ebc3 | |
parent | a9b2db43f50dd0c4a7a8e538141ab40a2c81c898 (diff) | |
download | xineliboutput-2e841e7e83706c74acb5a5e69d184a3210aab973.tar.gz xineliboutput-2e841e7e83706c74acb5a5e69d184a3210aab973.tar.bz2 |
Removed extra '/' from path concatenating
-rw-r--r-- | menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: menu.c,v 1.24 2006-12-16 23:24:33 phintuka Exp $ + * $Id: menu.c,v 1.25 2006-12-23 09:44:45 phintuka Exp $ * */ @@ -267,7 +267,7 @@ eOSState cMenuBrowseFiles::Open(bool ForceOpen, bool Parent) /* regular file */ } else { char *f = NULL; - asprintf(&f, "%s/%s/%s", + asprintf(&f, "%s%s/%s", GetCurrent()->IsDvd() ? "dvd:" : "", m_CurrentDir, GetCurrent()->Name()); strcpy(m_ConfigLastDir, f); @@ -518,7 +518,6 @@ static cOsdItem *NewTitle(const char *s) } -const char *decoderState[] = {"running", "paused", NULL}; extern cOsdObject *g_PendingMenuAction; time_t cMenuXinelib::g_LastHotkeyTime = 0; |