diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-19 18:56:43 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-19 18:56:43 +0000 |
commit | a0827f61f16f691962b378ab64ea27e5132dc506 (patch) | |
tree | 4ffa8a3c69d9a698a10c9a499339b8cf293d8b88 /protocols/Gadu-Gadu/src/dynstuff.cpp | |
parent | d0dca507c9fc51b566e73fac8c2827daaed441b1 (diff) |
GG:
- Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/dynstuff.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/dynstuff.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/src/dynstuff.cpp b/protocols/Gadu-Gadu/src/dynstuff.cpp index 4d21ed7eb0..9c9656da84 100644 --- a/protocols/Gadu-Gadu/src/dynstuff.cpp +++ b/protocols/Gadu-Gadu/src/dynstuff.cpp @@ -549,13 +549,11 @@ void array_add(char ***array, char *string) */
char *array_join(char **array, const char *sep)
{
- string_t s = string_init(NULL);
- int i;
-
if (!array)
return _strdup("");
- for (i = 0; array[i]; i++) {
+ string_t s = string_init(NULL);
+ for (int i = 0; array[i]; i++) {
if (i)
string_append(s, sep);
|