]> git.lyx.org Git - features.git/commitdiff
trivial ws
authorAndré Pönitz <poenitz@gmx.net>
Fri, 8 Nov 2002 11:14:49 +0000 (11:14 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 8 Nov 2002 11:14:49 +0000 (11:14 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5605 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/xscreen.C

index c87dcb3d76f266993a4fc7d37f2b3afa7488de1e..376077c0df9a27c0aef2fa62fb221078eac35afe 100644 (file)
@@ -57,7 +57,6 @@ GC createGC()
 } // namespace anon
 
 
-// Constructor
 XScreen::XScreen(XWorkArea & o)
        : LyXScreen(), owner_(o)
 {
@@ -81,7 +80,8 @@ XScreen::~XScreen()
 
 void XScreen::setCursorColor()
 {
-       if (!lyxColorHandler.get()) return;
+       if (!lyxColorHandler.get())
+               return;
 
        GC gc = lyxColorHandler->getGCForeground(LColor::cursor);
 
@@ -205,7 +205,8 @@ void XScreen::expose(int x, int y, int w, int h)
 
 void XScreen::draw(LyXText * text, BufferView * bv, unsigned int y)
 {
-       if (cursor_visible_) hideCursor();
+       if (cursor_visible_)
+               hideCursor();
 
        int const old_first = text->first_y;
        bool const internal = (text == bv->text);
@@ -258,4 +259,4 @@ void XScreen::draw(LyXText * text, BufferView * bv, unsigned int y)
        }
 
        XSync(fl_get_display(), 0);
-}
+}