mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 21:15:03 -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:
parent
beea582b35
commit
724fee3dca
@ -344,7 +344,7 @@ void get_window_pixels(void *frontend, int *x, int *y)
|
|||||||
char *get_window_title(void *frontend, int icon)
|
char *get_window_title(void *frontend, int icon)
|
||||||
{
|
{
|
||||||
struct gui_data *inst = (struct gui_data *)frontend;
|
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)
|
gint delete_window(GtkWidget *widget, GdkEvent *event, gpointer data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user