Author: bgbnbigben
Date: 2011-02-06 04:46:47 -0800 (Sun, 06 Feb 2011)
New Revision: 8385
Log:
Fixed a bug in the FileChooser which wouldn't allow a user to type in an
absolute filename - STR #2365
Modified:
trunk/src/FileChooser2.cxx
Modified: trunk/src/FileChooser2.cxx
===================================================================
--- trunk/src/FileChooser2.cxx 2011-02-06 12:32:23 UTC (rev 8384)
+++ trunk/src/FileChooser2.cxx 2011-02-06 12:46:47 UTC (rev 8385)
@@ -563,7 +563,7 @@
#endif /* WIN32 || __EMX__ */
fltk::filename_absolute(pathname, sizeof(pathname), filename);
value(pathname);
- fileName->mark(fileName->position()); // no selection after expansion
+ fileName->position(fileName->mark()); // no selection after expansion
} else if (filename != pathname) {
// Finally, make sure that we have a writable copy...
strlcpy(pathname, filename, sizeof(pathname));
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit