kopia lustrzana https://gitlab.com/sane-project/frontends
Apply 1 suggestion(s) to 1 file(s)
rodzic
ed2a17b980
commit
cada2f20a0
|
@ -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));
|
||||
|
|
Ładowanie…
Reference in New Issue