fix: don't use plain strings in vars as printf formats
This commit is contained in:
@@ -945,7 +945,7 @@ void RS03Verify(Image *image)
|
||||
#ifndef CLI
|
||||
if(Closure->guiMode)
|
||||
{ if(ecc_advice)
|
||||
{ SetLabelText(GTK_LABEL(wl->cmpEccResult), ecc_advice);
|
||||
{ SetLabelText(GTK_LABEL(wl->cmpEccResult), "%s", ecc_advice);
|
||||
g_free(ecc_advice);
|
||||
}
|
||||
else SetLabelText(GTK_LABEL(wl->cmpEccResult),
|
||||
@@ -1379,7 +1379,7 @@ void RS03Verify(Image *image)
|
||||
if(Closure->guiMode)
|
||||
{
|
||||
if(img_advice)
|
||||
{ SetLabelText(GTK_LABEL(wl->cmpImageResult), img_advice);
|
||||
{ SetLabelText(GTK_LABEL(wl->cmpImageResult), "%s", img_advice);
|
||||
g_free(img_advice);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user