zoom: element set is omitted if not set in profile
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 22 Jun 2011 19:07:07 +0000 (19:07 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 22 Jun 2011 19:07:07 +0000 (19:07 +0000)
But only if pz2 transform is in effect. Previously the default
element set was to "F".

m4
src/filter_zoom.cpp

diff --git a/m4 b/m4
index c9c894a..f7d7eb4 160000 (submodule)
--- a/m4
+++ b/m4
@@ -1 +1 @@
-Subproject commit c9c894a0b63f9ce9578570e3507c3e6232ec4797
+Subproject commit f7d7eb4b44b7fdad1942e32856d6afc2e6dcabda
index 5863285..f9c07df 100644 (file)
@@ -718,7 +718,7 @@ Z_Records *yf::Zoom::Frontend::get_records(Odr_int start,
 
     if (enable_pz2_transform)
     {
-        element_set_name = "F";
+        element_set_name = 0;
         if (b->sptr->element_set.length())
             element_set_name = b->sptr->element_set.c_str();
     }