Merge branch 'master' into sdl2.0

This commit is contained in:
Pere Pujal i Carabantes 2019-10-19 17:08:37 +02:00
commit be761daf7c
4 changed files with 45 additions and 36 deletions

View file

@ -1,5 +1,5 @@
.\" tuxpaint.1 - 2019.09.21
.TH TUXPAINT 1 "21 September 2019" "0.9.24" "Tux Paint"
.\" tuxpaint.1 - 2019.09.25
.TH TUXPAINT 1 "25 September 2019" "0.9.24" "Tux Paint"
.SH NAME
tuxpaint -- "Tux Paint", a drawing program for young children.
@ -9,7 +9,7 @@ tuxpaint -- "Tux Paint", a drawing program for young children.
.TP 9
.B tuxpaint
[\-\-fullscreen]
[\-\-fullscreen {yes|native|no}]
.br
[\-\-allowscreensaver]
.br
@ -260,8 +260,11 @@ Show the license (GNU GPL) under which Tux Paint is released.
They can be used along with, instead of, or to override options set in
configuration files. (See below.)
.TP 8
.B \-\-fullscreen \-\-windowed
Run \fITux Paint\fP in full-screen mode, or in a window (default).
.B \-\-fullscreen=yes \-\-fullscreen=native \-\-fullscreen=no \-\-windowed
Run \fITux Paint\fP in full-screen mode at its default -- or a specified
-- screen resolution ("--fullscreen=yes"); or in full-screen mode at the
system's native resolution ("--fullscreen=native"); or run in a window
("--fullscreen=no" or "--windowed") (default).
.TP 8
.B \-\-allowscreensaver \-\-disablescreensaver
@ -1171,9 +1174,8 @@ Pablo Pita,
Milan Plzik,
Sergei Popov,
John Popplewell,
Rodrigo Perez Ramirez and Indigenas Sin Fronteras,
Adam 'foo-script' Rakowski,
Rodrigo Perez Ramirez,
Rodrigo Perez Ramirez and Indigenas Sin Fronteras,
Robert Readman,
Leandro Regueiro,
Simona Riva,

View file

@ -19329,7 +19329,7 @@ static int do_new_dialog(void)
f2 = &(fs[k].f);
strcpy(fname2, f2->d_name);
if (strstr(fname, fname2) == fname2 && strcasestr(fname2, ".svg") != NULL)
if (strstr(fname2, fname) == fname2 && strlen(fname) == strlen(fname2)- strlen(".svg") && strcasestr(fname2, ".svg") != NULL)
{
/* SVG of this bitmap exists; we'll skip it */
skip = 1;