From 5446ac11e82889a9b910c196445226a3f4e5a5c4 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 10 May 2003 09:05:41 +0000 Subject: [PATCH] Stupid braino in get_window_title (thanks Colin): window and icon titles were being reported the wrong way round. Should fix half of Debian bug #191751. git-svn-id: svn://svn.tartarus.org/sgt/putty@3173 cda61777-01e9-0310-a592-d414129be87e --- unix/pterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/pterm.c b/unix/pterm.c index 92adcb13..aba3ecbc 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -344,7 +344,7 @@ void get_window_pixels(void *frontend, int *x, int *y) char *get_window_title(void *frontend, int icon) { struct gui_data *inst = (struct gui_data *)frontend; - return icon ? inst->wintitle : inst->icontitle; + return icon ? inst->icontitle : inst->wintitle; } gint delete_window(GtkWidget *widget, GdkEvent *event, gpointer data) -- 2.11.0