[gnome-terminal] Make this data static



commit 95a9a8d7f809c4d8af6f0fa1cd8b2fe2739e3f97
Author: Christian Persch <chpe gnome org>
Date:   Fri Dec 4 00:10:06 2009 +0100

    Make this data static

 src/eggshell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/eggshell.c b/src/eggshell.c
index a0feae8..5d5e597 100644
--- a/src/eggshell.c
+++ b/src/eggshell.c
@@ -60,7 +60,7 @@ egg_shell (const char *shell)
 #ifndef G_OS_WIN32
 	struct passwd *pw;
 	int i;
-	const char shells [][14] = {
+	static const char shells [][14] = {
 		/* Note that on some systems shells can also
 		 * be installed in /usr/bin */
 		"/bin/bash", "/usr/bin/bash",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]