ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/FeepingCreaturism/Jargon.cpp
(Generate patch)

Comparing FeepingCreaturism/Jargon.cpp (file contents):
Revision 212 by Douglas Thrift, 2004-09-02T03:41:06-07:00 vs.
Revision 213 by Douglas Thrift, 2004-09-04T20:54:02-07:00

# Line 33 | Line 33 | void Jargon::display(ios::PrintWriter& p
33                  xhtml.OpenElement("strong");
34                  xhtml.OutputText(word + ":");
35                  xhtml.CloseElement();
36                xhtml.OutputText(" " + pronunciation);
36  
37 <                if (!grammar.IsEmpty()) xhtml.OutputText(", " + grammar);
37 >                if (!pronunciation.IsEmpty()) xhtml.OutputText(" " + pronunciation);
38 >                if (!pronunciation.IsEmpty() && !grammar.IsEmpty()) xhtml.OutputText(",");
39 >                if (!grammar.IsEmpty()) xhtml.OutputText(" " + grammar);
40          }
41  
42          for (xml::NodeSet::ConstIterator node(definition.Begin());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines