]> git.lyx.org Git - features.git/commitdiff
fix file>import menu
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 Jan 2003 17:23:25 +0000 (17:23 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 8 Jan 2003 17:23:25 +0000 (17:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5923 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/importer.C

index c67685cf8563c147d2a91c7034428727ce53ccf5..ed6bbef9160980a34de0abd88ffbcf1652596b3b 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * importer.C (Loaders): do not preallocate 3 elements in the
+       vector, since one ends up with 6 elements otherwise
+
 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * DepTable.C (write): write the file name as last element of the
index 999f5173ff909883080c060a4e17ae9e229119e2..8d6894e9bcd8e6a12d2805f1422ea5f6feac2a17 100644 (file)
@@ -116,7 +116,7 @@ vector<Format const *> const Importer::GetImportableFormats()
 
 vector<string> const Importer::Loaders()
 {
-       vector<string> v(3);
+       vector<string> v;
        v.push_back("lyx");
        v.push_back("text");
        v.push_back("textparagraph");