X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-marc-sample.cpp;h=3f3181d20d4cb93d72e53269aba2c48fc59ca6c3;hb=572f0d8babb3b5263f9848e094f80a3ea5926770;hp=037fdf6fffeb0c340d25f80fa8bb22c12fe91819;hpb=ab68ebc01f733258280bdf40abbcbc3a288c3a87;p=yazpp-moved-to-github.git diff --git a/src/yaz-marc-sample.cpp b/src/yaz-marc-sample.cpp index 037fdf6..3f3181d 100644 --- a/src/yaz-marc-sample.cpp +++ b/src/yaz-marc-sample.cpp @@ -2,10 +2,12 @@ * Copyright (c) 2000-2001, Index Data. * See the file LICENSE for details. * - * $Id: yaz-marc-sample.cpp,v 1.7 2005-05-17 20:34:36 adam Exp $ + * $Id: yaz-marc-sample.cpp,v 1.10 2006-03-29 13:14:15 adam Exp $ */ -#include +#include + +using namespace yazpp_1; static const char *marc_records[] = { "\x30\x30\x33\x36\x36\x6E\x61\x6D\x20\x20\x32\x32\x30\x30\x31\x36" @@ -1481,7 +1483,15 @@ static const char *marc_records[] = { const char *Yaz_USMARC::get_record(size_t position) { if (position >= 1 && position <= ( - sizeof(marc_records) / sizeof(*marc_records))) - return marc_records[position-1]; + sizeof(marc_records) / sizeof(*marc_records))) + return marc_records[position-1]; return 0; } +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +