comparison src/gui_gtk.c @ 16162:cd5c83115ec6 v8.1.1086

patch 8.1.1086: too many curly braces commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 18:47:01 2019 +0100 patch 8.1.1086: too many curly braces Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 19:00:07 +0100
parents 7fad90423bd2
children ef00b6bc186b
comparison
equal deleted inserted replaced
16161:75fa84e2461b 16162:cd5c83115ec6
2571 return; /* shouldn't happen */ 2571 return; /* shouldn't happen */
2572 2572
2573 nonempty = (entry_text[0] != '\0'); 2573 nonempty = (entry_text[0] != '\0');
2574 2574
2575 if (dialog == find_widgets.dialog) 2575 if (dialog == find_widgets.dialog)
2576 {
2577 gtk_widget_set_sensitive(find_widgets.find, nonempty); 2576 gtk_widget_set_sensitive(find_widgets.find, nonempty);
2578 }
2579 2577
2580 if (dialog == repl_widgets.dialog) 2578 if (dialog == repl_widgets.dialog)
2581 { 2579 {
2582 gtk_widget_set_sensitive(repl_widgets.find, nonempty); 2580 gtk_widget_set_sensitive(repl_widgets.find, nonempty);
2583 gtk_widget_set_sensitive(repl_widgets.replace, nonempty); 2581 gtk_widget_set_sensitive(repl_widgets.replace, nonempty);