]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.C
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / inseturl.C
index 3f6cb00412fb1de1d2ce21d3dd62cbb577547976..cb3fe5f22ebf5cdd9bc918baab110a94920f801e 100644 (file)
@@ -10,6 +10,7 @@
 #include "LyXView.h"
 #include "debug.h"
 #include "frontends/Dialogs.h"
+#include "gettext.h"
 
 using std::ostream;
 
@@ -28,12 +29,12 @@ void InsetUrl::Edit(BufferView * bv, int, int, unsigned int)
 string const InsetUrl::getScreenLabel() const
 {
        string temp;
-       ifgetCmdName() == "url" )
+       if (getCmdName() == "url" )
                temp = _("Url: ");
        else 
                temp = _("HtmlUrl: ");
 
-       if(!getOptions().empty())
+       if (!getOptions().empty())
                temp += getOptions();
        else
                temp += getContents();