From a432db8ca3300666bf3f3737a91dfc55d9429492 Mon Sep 17 00:00:00 2001 From: Newton Date: Wed, 13 May 2020 08:58:33 -0700 Subject: Fix "misleading indentation" in Fl_Text_Buffer.cxx Compiling with clang produced the following warning on this line: src/Fl_Text_Buffer.cxx:1292:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] replace(start, end, text); ^ src/Fl_Text_Buffer.cxx:1288:3: note: previous statement is here if (!sel->position(&start, &end)) ^ --- src/Fl_Text_Buffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Text_Buffer.cxx b/src/Fl_Text_Buffer.cxx index 8df527b1b..4cfa5e470 100644 --- a/src/Fl_Text_Buffer.cxx +++ b/src/Fl_Text_Buffer.cxx @@ -1373,7 +1373,7 @@ void Fl_Text_Buffer::replace_selection_(Fl_Text_Selection * sel, return; /* Do the appropriate type of replace */ - replace(start, end, text); + replace(start, end, text); /* Unselect (happens automatically in BufReplace, but BufReplaceRect can't detect when the contents of a selection goes away) */ -- cgit v1.2.3