Tint2conf: support border sides (issue #580, thanks @stophe)

This commit is contained in:
o9000
2016-05-18 23:13:28 +02:00
parent 42d95f2930
commit 50c2f72a66
5 changed files with 146 additions and 5 deletions

View File

@@ -44,6 +44,17 @@
#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))