Revision: 135
Author: sucknblow
Date: 2006-07-27 18:37:08 -0700 (Thu, 27 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pmplib/?rev=135&view=rev
Log Message:
-----------
Fix path separator on POSIX platforms when displaying
paths in playlists.
Modified Paths:
--------------
trunk/frontend/easypmp/common/playlist.c
Modified: trunk/frontend/easypmp/common/playlist.c
===================================================================
--- trunk/frontend/easypmp/common/playlist.c 2006-07-28 00:40:12 UTC (rev 134)
+++ trunk/frontend/easypmp/common/playlist.c 2006-07-28 01:37:08 UTC (rev 135)
@@ -116,13 +116,16 @@
// Loop over playlist files.
for (i = 0;i < playlists->num_elements;++i) {
playlists_t pls;
+ ucs2char_t plf_path[MAX_PATH];
ucs2char_t src[MAX_PATH];
const easypmp_filename_t* plf = &playlists->elements[i];
int k = 0;
int n = 0;
// Generate the source filename
- filepath_combinepath(src, MAX_PATH, plf->pathname, plf->filename);
+ ucs2cpy(plf_path, plf->pathname);
+ filepath_decode(plf_path);
+ filepath_combinepath(src, MAX_PATH, plf_path, plf->filename);
// Report the source filename.
if (progress(instance, EASYPMPPLP_CONVERT | EASYPMPSP_PROGRESS, i, 0, src) != 0) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|