1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Merge tag '0.78', for real this time.

Oops. The previous merge came from a version of the release tag we
ended up not using. This one reflects what really went into the
release.
This commit is contained in:
Simon Tatham
2022-10-29 10:50:38 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -2141,7 +2141,10 @@ GtkWidget *layout_ctrls(
case CTRL_FONTSELECT: {
GtkWidget *ww;
if (!ctrl->fileselect.just_button) {
bool just_button = (ctrl->type == CTRL_FILESELECT &&
ctrl->fileselect.just_button);
if (!just_button) {
const char *browsebtn =
(ctrl->type == CTRL_FILESELECT ?
"Browse..." : "Change...");