X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Finsets%2Fupdatableinset.C;h=eb68e226db539b46c313eec9bfe510c0f419d906;hb=76355ad10707d850f56574a4090dab43bfa366e8;hp=5b71e4ef33f8577dc1836eae85d4da19b7b7e2b7;hpb=686f1e276f013e2dc56e3025798c7131bef173f5;p=lyx.git diff --git a/src/insets/updatableinset.C b/src/insets/updatableinset.C index 5b71e4ef33..eb68e226db 100644 --- a/src/insets/updatableinset.C +++ b/src/insets/updatableinset.C @@ -77,7 +77,9 @@ void UpdatableInset::scroll(BufferView & bv, int offset) const else scx += offset; } else { +#ifdef WITH_WARNINGS #warning metrics? +#endif if (!scx && xo_ + width() < bv.workWidth() - 20) return; if (xo_ - scx + offset + width() < bv.workWidth() - 20) {