ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/VTBFileUtil2/IndividualClient.cxx
(Generate patch)

Comparing trunk/VTBFileUtil2/IndividualClient.cxx (file contents):
Revision 273 by douglas, 2003-08-20T23:29:24-07:00 vs.
Revision 274 by douglas, 2003-08-21T23:30:14-07:00

# Line 2 | Line 2
2   //
3   // Douglas Thrift
4   //
5 < // $Id: IndividualClient.cxx,v 1.6 2003/08/21 06:29:24 douglas Exp $
5 > // $Id: IndividualClient.cxx,v 1.7 2003/08/22 06:30:14 douglas Exp $
6  
7   #include "IndividualClient.h"
8  
# Line 103 | Line 103 | void IndividualClient::demunge(void)
103                  file >> word;
104                  file.get();
105  
106 <                if (word.length() == 1)
106 >                if (word.length() == 1 && word != "i")
107                  {
108                          if (isalpha(word[0])) word += '.';
109                  }
# Line 118 | Line 118 | void IndividualClient::demunge(void)
118                  }
119                  else if (word == "ii" || word == "iv" || word == "iv")
120                  {
121 <                        capitalize(word += '.', 0, 2);
121 >                        capitalize(word, 0, 2);
122                  }
123                  else if (word == "iii")
124                  {
125 <                        capitalize(word += '.', 0, 3);
125 >                        capitalize(word, 0, 3);
126                  }
127                  else if (word.length() > 2 && word.find("mc") == 0)
128                  {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines