Author: matt
Date: 2010-10-30 12:46:05 -0700 (Sat, 30 Oct 2010)
New Revision: 7778
Log:
STR 2348: fixed possibly wrong relative path
Modified:
branches/branch-1.3/CHANGES
branches/branch-1.3/src/filename_absolute.cxx
Modified: branches/branch-1.3/CHANGES
===================================================================
--- branches/branch-1.3/CHANGES 2010-10-30 19:28:17 UTC (rev 7777)
+++ branches/branch-1.3/CHANGES 2010-10-30 19:46:05 UTC (rev 7778)
@@ -1,5 +1,6 @@
CHANGES IN FLTK 1.3.0
+ - Fixed wrong relative path (STR #2384)
- Fixed static allocation in Fl_Tabs (STR #2370)
- Fixed Fl_Widget::measure_label() to const (STR #2406)
- Added step by step README's for MSWindows, OS X, and four
Modified: branches/branch-1.3/src/filename_absolute.cxx
===================================================================
--- branches/branch-1.3/src/filename_absolute.cxx 2010-10-30 19:28:17 UTC
(rev 7777)
+++ branches/branch-1.3/src/filename_absolute.cxx 2010-10-30 19:46:05 UTC
(rev 7778)
@@ -210,6 +210,7 @@
if (isdirsep(*slash)) slash ++;
// do the same for the current dir
+ if (isdirsep(*newslash)) newslash --;
if (*newslash != '\0')
while (!isdirsep(*newslash) && newslash > cwd) newslash --;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit