summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-12-19 14:57:39 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-12-19 14:57:39 +0100
commitf00d26304c1febd47d5d9aefdcb9dd7e25f4058c (patch)
tree8c0487dcbdf4563aefe40afc2cc2b71e3a6e7e56 /apt-pkg/algorithms.cc
parentaff87a762f86ed47f2b81ccbac23faa5d9fddcdb (diff)
parent383594799377d5e628ee84557218f538d7b0bc0a (diff)
merged from bzr.debian.net
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index 62727a852..158f9c258 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -1261,8 +1261,8 @@ void pkgProblemResolver::InstallProtect()
Cache.MarkDelete(I);
else
{
- // preserver the information if the package was auto
- // or manual installed
+ // preserve the information whether the package was auto
+ // or manually installed
bool autoInst = (Cache[I].Flags & pkgCache::Flag::Auto);
Cache.MarkInstall(I, false, 0, !autoInst);
}