1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00

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.

[originally from svn r3173]
This commit is contained in:
Simon Tatham 2003-05-10 09:05:41 +00:00
parent beea582b35
commit 724fee3dca

View File

@ -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)