Skip to content

Commit

Permalink
fix: Fix wrong checking of is_win_pho_visible()
Browse files Browse the repository at this point in the history
  • Loading branch information
marktwtn committed May 16, 2023
1 parent 8191792 commit 69895a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win-pho.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void destroy_win_pho () {
}

gboolean is_win_pho_visible () {
return !gwin_pho && gtk_widget_get_visible (gwin_pho);
return gwin_pho && gtk_widget_get_visible (gwin_pho);
}

void set_phoneme_at_index (int index, char *phochar) {
Expand Down

0 comments on commit 69895a1

Please sign in to comment.