[LyX/master] Fix copy-paste error (spotted by coverity)

Juergen Spitzmueller spitz at lyx.org
Fri Jan 3 12:23:33 UTC 2020


commit 224bc7de6ec450d8fc1cf234709ccbed9768ca3a
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Fri Jan 3 13:39:50 2020 +0100

    Fix copy-paste error (spotted by coverity)
---
 src/Changes.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Changes.cpp b/src/Changes.cpp
index ed9205d..64fb3c4 100644
--- a/src/Changes.cpp
+++ b/src/Changes.cpp
@@ -380,7 +380,7 @@ docstring getLaTeXMarkup(docstring const & macro, Author const & author,
 					  "Choose an appropriate document encoding (such as utf8)\n"
 					  "or change the author initials."),
 					uncodable_initials, author_initials_latexed.second));
-				warned_author_initials.insert(uncodable_author);
+				warned_author_initials.insert(uncodable_initials);
 			}
 		}
 	}


More information about the lyx-cvs mailing list