[sword-svn] r2734 - trunk/utilities/diatheke

Greg Hellings greg.hellings at gmail.com
Sat Sep 15 16:25:14 MST 2012


On Sat, Sep 15, 2012 at 1:50 PM,  <chrislit at crosswire.org> wrote:
> Author: chrislit
> Date: 2012-09-15 11:50:57 -0700 (Sat, 15 Sep 2012)
> New Revision: 2734
>
> Modified:
>    trunk/utilities/diatheke/diatheke.cpp
> Log:
> applied XHTML patch from Greg Hellings
>
> Modified: trunk/utilities/diatheke/diatheke.cpp
> ===================================================================
> --- trunk/utilities/diatheke/diatheke.cpp       2012-09-14 12:12:29 UTC (rev 2733)
> +++ trunk/utilities/diatheke/diatheke.cpp       2012-09-15 18:50:57 UTC (rev 2734)
> @@ -51,7 +51,7 @@
>         fprintf (stderr, "  b (Bi-Directional Reordering), x (Red Words of Christ)\n");
>
>         fprintf (stderr, "Maximum verses may be any integer value\n");
> -       fprintf (stderr, "Valid output_format values are: GBF, ThML, RTF, HTML, OSIS, CGI, and plain (def)\n");
> +       fprintf (stderr, "Valid output_format values are: GBF, ThML, RTF, HTML, HTMLHREF, XHTML, OSIS, CGI, and plain (def)\n");
>         fprintf (stderr, "Valid output_encoding values are: Latin1, UTF8 (def), UTF16, HTML, and RTF\n");
>         fprintf (stderr, "Valid locale values depend on installed locales. en is default.\n");
>         fprintf (stderr, "The query_key must be the last argument because all following\n");
> @@ -170,6 +170,10 @@
>                                         outputformat = FMT_HTML;
>                                         i++;
>                                 }
> +                               else if (!::stricmp("xhtml", argv[i+1])) {
> +                                       outputformat = FTM_XHTML;

FMT_ not FTM_!

--Greg

> +                                       i++;
> +                               }
>                                 else if (!::stricmp("rtf", argv[i+1])) {
>                                         outputformat = FMT_RTF;
>                                         i++;
>
>
> _______________________________________________
> sword-cvs mailing list
> sword-cvs at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-cvs



More information about the sword-cvs mailing list