]> git.lyx.org Git - features.git/blobdiff - src/Paragraph.cpp
Revert "Mark some intentional fall-throughs (in a way understandable to gcc)"
[features.git] / src / Paragraph.cpp
index c9a234d01fbed9aefa93e7292d3fe91130edfffd..f9684ff6c61d2f05d1af4fdb3bf2f9162778299b 100644 (file)
@@ -3871,13 +3871,13 @@ void Paragraph::locateWord(pos_type & from, pos_type & to,
                        to = from;
                        return;
                }
-               // fall through
+               // no break here, we go to the next
 
        case WHOLE_WORD:
                // If we are already at the beginning of a word, do nothing
                if (!from || isWordSeparator(from - 1))
                        break;
-               // fall through
+               // no break here, we go to the next
 
        case PREVIOUS_WORD:
                // always move the cursor to the beginning of previous word