Tint2conf: support border sides (issue #580, thanks @stophe)
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -41,6 +41,9 @@ typedef enum MouseAction {
|
||||
|
||||
#define ALL_DESKTOPS 0xFFFFFFFF
|
||||
|
||||
// add c to s
|
||||
char *append(char *s, char c);
|
||||
|
||||
// Copies a file to another path
|
||||
void copy_file(const char *path_src, const char *path_dest);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user