X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmetricsinfo.h;h=733bccd3f239ec0caa4820ef38c767a4ae230c66;hb=9e1ce30ff75b0282f428738aa3f3562c21ceb9df;hp=8986c97b4379b4b89c71021f5657b3a465279cda;hpb=d6cc04e762b00bc3b31ccccb2683bf9119bc91b9;p=lyx.git diff --git a/src/metricsinfo.h b/src/metricsinfo.h index 8986c97b43..733bccd3f2 100644 --- a/src/metricsinfo.h +++ b/src/metricsinfo.h @@ -112,12 +112,12 @@ class ViewMetricsInfo public: ViewMetricsInfo() : p1(0), p2(0), y1(0), y2(0), - update_strategy(NoScreenUpdate), size(0) + update_strategy(FullScreenUpdate), size(0) {} ViewMetricsInfo(pit_type p1, pit_type p2, int y1, int y2, ScreenUpdateStrategy updatestrategy, pit_type size) : p1(p1), p2(p2), y1(y1), y2(y2), - update_strategy(update_strategy), size(size) + update_strategy(updatestrategy), size(size) {} pit_type p1;