summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-09-30 15:43:58 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2011-09-30 15:46:49 +0200
commit358a15fd65cdc56ddc02b3ea261851f20c7ac618 (patch)
tree73813db6e2bde7f4e04dde0136a763f8f50e7ee2 /include/git2
parent550c9f31bb782f11483f146dd69b1ec7d2e530a3 (diff)
downloadlibgit2-358a15fd65cdc56ddc02b3ea261851f20c7ac618.tar.gz
config: fix check for environment string expansion
If ExpandEnvironmentStringsW is successful, it returns the amount of characters written, including the NUL terminator. Thanks to Emeric for reading the MSDN documentation correctly. Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions