Changeset 4983 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
2003-07-19T05:34:48+12:00 (21 years ago)
Author:
sjboddie
Message:

Bug fix in recent changes to document formatting code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/browsetools.cpp

    r4972 r4983  
    759759                 ostream &textout, ostream &logout) {
    760760
    761   if (formatinfo.AllowExtendedOptions) {
    762     // If AllowExtendedOptions is set DocumentButtons, DocumentContent, and
    763     // DocumentImages are effectively disabled. We just output the
    764     // DocumentHeading format string and return
     761  if (!args["d"].empty() && formatinfo.AllowExtendedOptions) {
     762    // If AllowExtendedOptions is set and we're viewing a document,
     763    // DocumentButtons, DocumentContent, and DocumentImages are effectively
     764    // disabled. We just output the DocumentHeading format string and
     765    // return
    765766    output_titles (args, collectproto, browsermap, formatinfo, disp, outconvert, textout, logout);   
    766767    return;
Note: See TracChangeset for help on using the changeset viewer.