aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cmdline
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 10:47:42 +0000
committerdanglassey <danglassey>2002-08-14 10:47:42 +0000
commiteb328cd14563269c4c2df8ba4260b859f800001e (patch)
tree7d778370e8b030b695bd578fc1ccba76d03c056b /examples/cmdline
parent223bb0b0aa1a50e38f546af5d0e7d38cede5a09f (diff)
downloadsword-sf-cvs-eb328cd14563269c4c2df8ba4260b859f800001e.tar.gz
sync with crosswire 20020814-1047
Diffstat (limited to 'examples/cmdline')
-rw-r--r--examples/cmdline/lookup.cpp2
-rw-r--r--examples/cmdline/search.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cmdline/lookup.cpp b/examples/cmdline/lookup.cpp
index 6f67ed7..0bccc09 100644
--- a/examples/cmdline/lookup.cpp
+++ b/examples/cmdline/lookup.cpp
@@ -25,7 +25,7 @@ int main(int argc, char **argv)
target = (*it).second;
- target->SetKey(argv[2]);
+ target->setKey(argv[2]);
(const char *)*target; // force an entry lookup to resolve key so we
// get the idxbuf entry for the key
diff --git a/examples/cmdline/search.cpp b/examples/cmdline/search.cpp
index ec55b14..9e1c896 100644
--- a/examples/cmdline/search.cpp
+++ b/examples/cmdline/search.cpp
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
vk.LowerBound(argv[3]);
vk.UpperBound(argv[4]);
vk.Persist(1);
- target->SetKey(vk);
+ target->setKey(vk);
}
std::cout << "[0=================================50===============================100]\n ";