[MPlayer-cvslog] r34205 - trunk/gui/win32/interface.c
ib
subversion at mplayerhq.hu
Sun Oct 16 12:48:24 CEST 2011
Author: ib
Date: Sun Oct 16 12:48:23 2011
New Revision: 34205
Log:
Change and add comment.
Replace "file name" by "file path" and explain the need of
converting the filename.
Modified:
trunk/gui/win32/interface.c
Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c Sat Oct 15 18:33:05 2011 (r34204)
+++ trunk/gui/win32/interface.c Sun Oct 16 12:48:23 2011 (r34205)
@@ -334,11 +334,11 @@ void uiPrev(void)
#ifdef __WINE__
/**
- * @brief Convert a Windows style file name into an Unix style one.
+ * @brief Convert a Windows style path to a file name into an Unix style one.
*
- * @param filename pointer to the file name to be converted
+ * @param filename pointer to the file path to be converted
*
- * @return pointer to the converted file name
+ * @return pointer to the converted file path
*/
static char *unix_name (char *filename)
{
@@ -380,7 +380,7 @@ void uiSetFileName(char *dir, char *name
filename = guiInfo.Filename;
#ifdef __WINE__
- filename = unix_name(filename);
+ filename = unix_name(filename); // passed file arguments may be in Windows format
#endif
guiInfo.StreamType = type;
More information about the MPlayer-cvslog
mailing list