diff --git a/src/tuxpaint.c b/src/tuxpaint.c index abf25a7fc..dca48fae3 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -18820,7 +18820,7 @@ static int do_new_dialog(void) f2 = &(fs[k].f); strcpy(fname2, f2->d_name); - if (strstr(fname2, fname) == fname2 && strcasestr(fname2, ".svg") != NULL) + if (strstr(fname, fname2) == fname2 && strcasestr(fname2, ".svg") != NULL) { /* SVG of this bitmap exists; we'll skip it */ skip = 1;