X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzoom-opt.c;h=b9e5df3654e76a2c489f238734df1643e77c01ce;hb=b3d1527a6d94b1af17bf36c7781be9679c3fbfc9;hp=c199e89cc8d12d36d44f9f9bde0a4e2641b0e92f;hpb=0e664fbee06e451911bf53d2df4e541cbcecd495;p=yaz-moved-to-github.git diff --git a/src/zoom-opt.c b/src/zoom-opt.c index c199e89..b9e5df3 100644 --- a/src/zoom-opt.c +++ b/src/zoom-opt.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. - * - * $Id: zoom-opt.c,v 1.8 2007-05-05 11:53:26 adam Exp $ */ /** * \file zoom-opt.c @@ -171,7 +169,11 @@ ZOOM_API(const char *) if (!opt) return 0; if (opt->callback_func) + { v = (*opt->callback_func)(opt->callback_handle, name); + if (v) + *lenp = strlen(v); + } if (!v) { struct ZOOM_options_entry *e;