Fixed wrong relative path (STR #2384)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a4587be93d
commit
bce98b2826
@ -19,6 +19,7 @@ Changes since FLTK 1.1.10 include:
|
||||
- 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 @@ exceptions that allow for static linking.</P>
|
||||
<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>
|
||||
|
||||
1
CHANGES
1
CHANGES
@ -6,6 +6,7 @@ CHANGES IN FLTK 1.1.11
|
||||
- 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
|
||||
|
||||
|
||||
@ -186,6 +186,7 @@ fl_filename_relative(char *to, // O - Relative filename
|
||||
if (isdirsep(*slash)) slash ++;
|
||||
|
||||
// do the same for the current dir
|
||||
if (isdirsep(*newslash)) newslash--;
|
||||
if (*newslash != '\0')
|
||||
while (!isdirsep(*newslash) && newslash > cwd) newslash --;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user