[gnome-terminal/gsettings] Fix crash due to uninitialised variable
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gsettings] Fix crash due to uninitialised variable
- Date: Mon, 5 Dec 2011 17:33:44 +0000 (UTC)
commit 23a7c0cb8df7acbe4d725e1bef6833bd9d6bab73
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]