about summary refs log tree commit diff stats
path: root/src/GridText.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2007-04-29 20:52:12 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2007-04-29 20:52:12 -0400
commit89168f60aa971ea8290d91e05557c7a21cdb22f1 (patch)
treee9c0b951a9c833d8949c542f7574f0f534ac1355 /src/GridText.c
parent8759afbc0bd7e698baeab1cfb8e8bf3f3df96653 (diff)
downloadlynx-snapshots-89168f60aa971ea8290d91e05557c7a21cdb22f1.tar.gz
snapshot of project "lynx", label v2-8-7dev_4b
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/GridText.c b/src/GridText.c
index c99011f5..fb455a71 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -8392,19 +8392,15 @@ void www_user_search(int start_line,
 void user_message(const char *message,
 		  const char *argument)
 {
-    char *temp = NULL;
-
     if (message == NULL) {
 	mustshow = FALSE;
-	return;
-    }
-
-    HTSprintf0(&temp, message, NonNull(argument));
-
-    statusline(temp);
+    } else {
+	char *temp = NULL;
 
-    FREE(temp);
-    return;
+	HTSprintf0(&temp, message, NonNull(argument));
+	statusline(temp);
+	FREE(temp);
+    }
 }
 
 /*