Author: matt
Date: 2010-11-16 06:40:08 -0800 (Tue, 16 Nov 2010)
New Revision: 7859
Log:
Fixed wrong relative path (STR #2384)
Modified:
branches/branch-1.1/ANNOUNCEMENT
branches/branch-1.1/CHANGES
branches/branch-1.1/src/filename_absolute.cxx
Modified: branches/branch-1.1/ANNOUNCEMENT
===================================================================
--- branches/branch-1.1/ANNOUNCEMENT 2010-11-16 14:36:56 UTC (rev 7858)
+++ branches/branch-1.1/ANNOUNCEMENT 2010-11-16 14:40:08 UTC (rev 7859)
@@ -19,6 +19,7 @@
- Fixed menu and shortcut handling (STR #2243)
- Fixed multiple line output of fltk-config --libs (STR #2408)
- Fixed handling of missing fonts in Xft (STR #2355)
+ - Fixed wrong relative path (STR #2384)
----HTML----
@@ -45,5 +46,6 @@
<LI> Fixed menu and shortcut handling (STR #2243)
<LI> Fixed multiple line output of fltk-config --libs (STR #2408)
<LI> Fixed handling of missing fonts in Xft (STR #2355)
+<LI> Fixed wrong relative path (STR #2384)
</UL>
Modified: branches/branch-1.1/CHANGES
===================================================================
--- branches/branch-1.1/CHANGES 2010-11-16 14:36:56 UTC (rev 7858)
+++ branches/branch-1.1/CHANGES 2010-11-16 14:40:08 UTC (rev 7859)
@@ -6,6 +6,7 @@
- Fixed menu and shortcut handling (STR #2243)
- Fixed multiple line output of fltk-config --libs (STR #2408)
- Fixed handling of missing fonts in Xft (STR #2355)
+ - Fixed wrong relative path (STR #2384)
CHANGES IN FLTK 1.1.10
Modified: branches/branch-1.1/src/filename_absolute.cxx
===================================================================
--- branches/branch-1.1/src/filename_absolute.cxx 2010-11-16 14:36:56 UTC
(rev 7858)
+++ branches/branch-1.1/src/filename_absolute.cxx 2010-11-16 14:40:08 UTC
(rev 7859)
@@ -186,6 +186,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