summaryrefslogtreecommitdiff
path: root/contrib/libxdg-basedir/basedir.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-14 15:02:24 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-04-14 15:02:24 +0200
commit2dc295cdf13e344d9e141dceb0b03c6a6f1dee3a (patch)
tree155b533be0781da193441b858e62804cc1d19451 /contrib/libxdg-basedir/basedir.c
parentf757f86ba36b2fb148e272ca16a4a5ced47926ab (diff)
downloadxine-lib-2dc295cdf13e344d9e141dceb0b03c6a6f1dee3a.tar.gz
xine-lib-2dc295cdf13e344d9e141dceb0b03c6a6f1dee3a.tar.bz2
Update libxdg-basedir to version 0.1.3; thanks to Mark Nevill for the quick action.
Detection of libxdg-basedir presence is now done through pkg-config, and to use the external copy you have to have at least 0.1.3 because previous versions contain one bug that causes /usr/share to become /usr/sharee. Remove the patch, no differences from the original are present at this time.
Diffstat (limited to 'contrib/libxdg-basedir/basedir.c')
-rw-r--r--contrib/libxdg-basedir/basedir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libxdg-basedir/basedir.c b/contrib/libxdg-basedir/basedir.c
index b0782efa2..ae50d1bba 100644
--- a/contrib/libxdg-basedir/basedir.c
+++ b/contrib/libxdg-basedir/basedir.c
@@ -209,7 +209,7 @@ static char** xdgSplitPath(const char* string)
#endif
itemlist[i][k] = string[j];
}
- itemlist[i][k] = 0;
+ itemlist[i][k] = 0; // Bugfix provided by Diego 'Flameeyes' Pettenò
/* move to next string */
string += j;
if (*string == PATH_SEPARATOR_CHAR) string++; /* skip seperator */