]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/statechanges.cc
fix invalid XML in German manpage translation
[apt.git] / apt-pkg / statechanges.cc
index ed8f9f5249a41681fe635fa326b5d415b7a9f731..35af45538089029a9f4e933b30e0bd00bb8c1a58 100644 (file)
@@ -25,7 +25,8 @@ public:
 #define APT_GETTERSETTER(Name, Container) \
 void StateChanges::Name(pkgCache::VerIterator const &Ver) \
 { \
-   Container.push_back(Ver); \
+   if (Ver.end() == false) \
+      Container.push_back(Ver); \
 }\
 APT::VersionVector& StateChanges::Name() \
 { \