From 5ba359a05d75c877a359484549f652424f7f0b9d Mon Sep 17 00:00:00 2001 From: erg Date: Thu, 10 Apr 2008 17:29:17 +0000 Subject: [PATCH] Fix bug where compare was used instead of assignment. --- cmd/smyrna/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index a2553ae90..6d996fed4 100755 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -355,7 +355,7 @@ static void load_graph_params(Agraph_t * graph) //file may or may have not gl edit attributes //first defaults are set in loading function //here file is checked for previously saved gledit attributes - if ((s == agget(graph, "GraphName"))) //Graph Name + if ((s = agget(graph, "GraphName"))) //Graph Name { GD_GraphName(graph) = N_GNEW(strlen(s)+1,char); strcpy(GD_GraphName(graph), s); -- 2.40.0