diff options
-rw-r--r-- | src/tuxpaint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tuxpaint.c b/src/tuxpaint.c index a7c9bf4..71fcfef 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -16729,7 +16729,7 @@ static void load_magic_plugins(void) { struct stat sbuf; - snprintf(fname, sizeof(fname), "%s%s", place, f->d_name); + snprintf(fname, sizeof(fname), "%s/%s", place, f->d_name); if (!stat(fname, &sbuf) && S_ISREG(sbuf.st_mode)) { /* Get just the name of the object (e.g., "negative"), w/o filename |