~mkhu/do/trunk

Viewing all changes in revision 1373.

  • Committer: Christopher James Halse Rogers
  • Author(s): Chris Beswick
  • Date: 2012-02-14 11:07:30 UTC
  • Revision ID: raof@ubuntu.com-20120214110730-k0hh84pal19gyik4
Do.Platform.Linux: Fix PathForXdgVariable with null fallback

When a null fallback string is passed in the expected behaviour in the case
of no XDG environment variable being set is to return null.  The code was,
instead, unconditionally Path.Combine()ing /home/chris with fallback, resulting
in incorrect behaviour.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: