[gnome-terminal] Fix crash due to uninitialised variable
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Fix crash due to uninitialised variable
- Date: Thu, 3 May 2012 19:04:05 +0000 (UTC)
commit d5b80e9b7d4e062afc4f1bfa3e5791d1f73cf619
Author: Christian Persch <chpe gnome org>
Date: Mon Dec 5 18:32:46 2011 +0100
Fix crash due to uninitialised variable
src/terminal-app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 48bc29b..85ab12e 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -1192,7 +1192,7 @@ terminal_app_create_instance (TerminalFactory *factory,
if (!g_variant_lookup (options, "profile", "&s", &profile_name))
profile_name = NULL;
if (!g_variant_lookup (options, "title", "&s", &title))
- profile_name = NULL;
+ title = NULL;
if (g_variant_lookup (options, "present-window", "b", &present_window)) {
present_window_set = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]