summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2011-04-10 17:11:56 -0700
committerDaniel Burrows <dburrows@debian.org>2011-04-10 17:11:56 -0700
commitee6a95f300d8a45b34896381a97e4ceb4b693295 (patch)
tree162acd00abc0efec49c98710b6a55e78305d76da /src
parente1af5de24499e0c3ff4ea3aea76008d6b184f799 (diff)
downloadaptitude-ee6a95f300d8a45b34896381a97e4ceb4b693295.tar.gz
Fix serializing ?term-prefix.
Also added ?term-prefix to the test suite (oops).
Diffstat (limited to 'src')
-rw-r--r--src/generic/apt/matching/serialize.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generic/apt/matching/serialize.cc b/src/generic/apt/matching/serialize.cc
index f868ee0e..220e97cc 100644
--- a/src/generic/apt/matching/serialize.cc
+++ b/src/generic/apt/matching/serialize.cc
@@ -1,6 +1,6 @@
// serialize.cc -*-c++-*-
//
-// Copyright (C) 2008-2009 Daniel Burrows
+// Copyright (C) 2008-2009, 2011 Daniel Burrows
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -511,7 +511,7 @@ namespace aptitude
case pattern::term_prefix:
out << "?term-prefix(";
- serialize_string(p->get_term_term(), out);
+ serialize_string(p->get_term_prefix_term(), out);
out.put(')');
break;