From f2c6c5c3ff7489e8f0b82b06a07c9eff3bd29e9d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 20 Dec 2022 21:42:36 -0800 Subject: [PATCH] smyrna: remove duplicate 'defaultmagnifierwidth' retrieval The return value of this call was being ignored. It seems accidentally copy-pasted from the lines below. --- cmd/smyrna/viewport.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 0c4a0ad90..8fdfa820b 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -168,7 +168,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) { vi->FontSize = (float) atof(get_attribute_value("defaultfontsize", vi, g)); - get_attribute_value("defaultmagnifierwidth", vi, g); vi->mg.width = atoi(get_attribute_value("defaultmagnifierwidth", vi, g)); vi->mg.height = -- 2.50.1