]> git.lyx.org Git - lyx.git/commitdiff
Cosmetic fix to FormNote.C. Left tooltip text alone :-)
authorMartin Vermeer <martin.vermeer@hut.fi>
Thu, 21 Aug 2003 11:26:07 +0000 (11:26 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Thu, 21 Aug 2003 11:26:07 +0000 (11:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7578 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormNote.C

index 5b372920e728497559b8397e4fc8299bd51ddfc9..3df6806d5096f7e6cbc6283dc70403018d112a97 100644 (file)
@@ -1,3 +1,7 @@
+2003-08-21  Martin Vermeer  <martin.vermeer@hut.fi>    
+
+       * FormNote.C: cosmetic fix.
+
 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>    
 
        * FormDocument.C: make the layout file's "Other" class option
index 40bbc96f1f3fef61f822d62cc848bdd87819bbe6..c56cc7d52913e65fed84864622453766919191bd 100644 (file)
@@ -38,9 +38,6 @@ void FormNote::build()
 
        note_gui_tokens(ids_, gui_names_);
 
-       for (int i = 0; i < 3; ++i) {   
-       }
-       
        for (int i = 0; i < 3; ++i) {   
                fl_addto_choice(dialog_->choice_type, gui_names_[i].c_str());
        }
@@ -60,9 +57,9 @@ void FormNote::update()
 {
        string type(controller().params().type);
        for (int i = 0; i < 3; ++i) {   
-       if (type == ids_[i])
-               fl_set_choice_text(dialog_->choice_type, gui_names_[i].c_str());
-       }
+               if (type == ids_[i])
+                       fl_set_choice_text(dialog_->choice_type, gui_names_[i].c_str());
+               }
 }