just calling default(k) does not give back the default value for k

This commit is contained in:
Florian Oswald 2017-05-17 15:40:47 +02:00
parent af56d6f265
commit e3ce1ab1d1

View File

@ -311,7 +311,7 @@ end
"Reset all fonts to default size"
function resetfontsizes()
for k in (:titlefont, :guidefont, :tickfont, :legendfont)
resetfontsize(k, factor)
resetfontsize(k)
end
end