Skip to content

gfilechooser.c: fix behaviour when changing file type#4939

Merged
jtanx merged 1 commit intofontforge:masterfrom
jtanx:df
Mar 9, 2022
Merged

gfilechooser.c: fix behaviour when changing file type#4939
jtanx merged 1 commit intofontforge:masterfrom
jtanx:df

Conversation

@jtanx
Copy link
Copy Markdown
Contributor

@jtanx jtanx commented Mar 9, 2022

Fixes the first issue raised in #4937.

Regression from #4828 - restores this code:

if ( gfc->lastname!=NULL ) {
GGadgetSetTitle(&gfc->name->g,gfc->lastname);
free(gfc->lastname);
gfc->lastname=NULL;
}

Type of change

  • Bug fix

Copy link
Copy Markdown
Contributor

@skef skef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jtanx jtanx merged commit 784cd0a into fontforge:master Mar 9, 2022
@jtanx jtanx deleted the df branch March 9, 2022 19:59
@ctrlcctrlv ctrlcctrlv mentioned this pull request Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants