changeset 34117:39ca8e25ba79

Change and add comment. Replace "file name" by "file path" and explain the need of converting the filename.
author ib
date Sun, 16 Oct 2011 10:48:23 +0000
parents 5f7c090e5ae8
children b8175cad9b8a
files gui/win32/interface.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Sat Oct 15 16:33:05 2011 +0000
+++ b/gui/win32/interface.c	Sun Oct 16 10:48:23 2011 +0000
@@ -334,11 +334,11 @@
 
 #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 @@
 
     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;