about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-01 19:33:01 +0000
committerJames Booth <boothj5@gmail.com>2015-11-01 19:33:01 +0000
commit7e386fbf005a9c990d288750c336db8e981eaee1 (patch)
tree42cd2e88cd61a6fdd58cc26f7f754b1d79d82840 /src/command/commands.c
parent9eae20298fe6bfa67fb8b9eae26fce727d582480 (diff)
downloadprofani-tty-7e386fbf005a9c990d288750c336db8e981eaee1.tar.gz
Removed ui_open_xmlconsole_win()
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index e5dd5ef6..d8408937 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -4399,7 +4399,7 @@ cmd_xmlconsole(ProfWin *window, const char *const command, gchar **args)
 {
     ProfXMLWin *xmlwin = wins_get_xmlconsole();
     if (xmlwin) {
-        ui_open_xmlconsole_win();
+        ui_switch_win((ProfWin*)xmlwin);
     } else {
         ProfWin *window = wins_new_xmlconsole();
         ui_switch_win(window);