diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-30 15:43:58 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-09-30 15:46:49 +0200 |
commit | 358a15fd65cdc56ddc02b3ea261851f20c7ac618 (patch) | |
tree | 73813db6e2bde7f4e04dde0136a763f8f50e7ee2 /src/commit.c | |
parent | 550c9f31bb782f11483f146dd69b1ec7d2e530a3 (diff) | |
download | libgit2-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 'src/commit.c')
0 files changed, 0 insertions, 0 deletions