summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/inkscape-preferences.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 18:54:25 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-18 18:54:25 +0000
commit5a5b61fa8085a8c5eec59614834cb882d1d778e2 (patch)
tree848df1de494bcdae296dcaf1de4a164cbaaec780 /src/ui/dialog/inkscape-preferences.cpp
parentRun clang-tidy’s modernize-pass-by-value pass. (diff)
downloadinkscape-5a5b61fa8085a8c5eec59614834cb882d1d778e2.tar.gz
inkscape-5a5b61fa8085a8c5eec59614834cb882d1d778e2.zip
Run clang-tidy’s modernize-use-bool-literals pass.
This makes it clearer whether an integer or a boolean has to be passed in this specific call.
Diffstat (limited to 'src/ui/dialog/inkscape-preferences.cpp')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 06309885c..6092c26d3 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -493,7 +493,7 @@ void InkscapePreferences::initPageTools()
this->AddGradientCheckbox(_page_text, "/tools/text", true);
{
PrefCheckButton* cb = Gtk::manage( new PrefCheckButton);
- cb->init ( _("Show font samples in the drop-down list"), "/tools/text/show_sample_in_list", 1);
+ cb->init ( _("Show font samples in the drop-down list"), "/tools/text/show_sample_in_list", true);
_page_text.add_line( false, "", *cb, "", _("Show font samples alongside font names in the drop-down list in Text bar"));
_font_dialog.init ( _("Show font substitution warning dialog"), "/options/font/substitutedlg", false);