Apply 1 suggestion(s) to 1 file(s)

merge-requests/6/head
Ralph Little 2022-07-24 20:35:34 +00:00 zatwierdzone przez Ordissimo
rodzic ed2a17b980
commit cada2f20a0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -975,7 +975,7 @@ panel_build (GSGDialog * dialog)
elem->dialog = dialog;
if (opt->unit == SANE_UNIT_NONE)
strncpy (title, opt->title, sizeof (opt->title));
snprintf (title, sizeof (title), opt->title);
else
snprintf (title, sizeof (title),
"%s [%s]", opt->title, unit_string (opt->unit));