Mercurial > trustbridge
comparison common/strhelp.c @ 310:f758460ca437
Merged
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Fri, 04 Apr 2014 09:54:19 +0200 |
parents | c4a989a0d6cf |
children | 4077eff1dd39 |
comparison
equal
deleted
inserted
replaced
309:fa37384b86b6 | 310:f758460ca437 |
---|---|
217 if (n < 0) | 217 if (n < 0) |
218 { | 218 { |
219 xfree (result); | 219 xfree (result); |
220 return NULL; | 220 return NULL; |
221 } | 221 } |
222 result[n] = 0; | |
222 return result; | 223 return result; |
223 } | 224 } |
224 | 225 |
225 /* Adapted from GPGOL rev. e512053 */ | 226 /* Adapted from GPGOL rev. e512053 */ |
226 wchar_t * | 227 wchar_t * |