Tint2conf: use strcat instead of append (issue #580)

This commit is contained in:
o9000
2016-05-18 23:27:55 +02:00
parent d49dac2e05
commit ed3fcd63fc
3 changed files with 6 additions and 19 deletions

View File

@@ -44,17 +44,6 @@
#include <librsvg/rsvg.h>
#endif
char *append(char *s, char c) {
int len = strlen(s);
char buf[len+2];
strcpy(buf, s);
buf[len] = c;
buf[len + 1] = 0;
return strdup(buf);
}
void copy_file(const char *path_src, const char *path_dest)
{
if (g_str_equal(path_src, path_dest))