From: <ny...@us...> - 2006-06-04 01:25:41
|
Revision: 36 Author: nyaochi Date: 2006-06-03 18:25:32 -0700 (Sat, 03 Jun 2006) ViewCVS: http://svn.sourceforge.net/pmplib/?rev=36&view=rev Log Message: ----------- Preparation for 'include' support in JSPL. Modified Paths: -------------- trunk/frontend/easypmp/cui/main.c Modified: trunk/frontend/easypmp/cui/main.c =================================================================== --- trunk/frontend/easypmp/cui/main.c 2006-06-04 01:06:17 UTC (rev 35) +++ trunk/frontend/easypmp/cui/main.c 2006-06-04 01:25:32 UTC (rev 36) @@ -276,6 +276,7 @@ // Generate the path_to_include if (!opt.path_to_include[0]) { #ifdef _WIN32 + // "jspl" folder under the location where the executable is installed. ucs2char_t ucs2cs_jspl[] = {'j','s','p','l',0}; GetModuleFileNameW(GetModuleHandle(NULL), opt.path_to_include, MAX_PATH); @@ -283,6 +284,9 @@ filepath_addslash(opt.path_to_include); ucs2cat(opt.path_to_include, ucs2cs_jspl); filepath_addslash(opt.path_to_include); +#else + // Obtain JavaScript Playlist directory from PMP_JSPLINCL_DIR + mbstoucs2(opt.path_to_include, MAX_PATH, PMP_JSPLINCL_DIR, strlen(PMP_JSPLINCL_DIR)+1); #endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |