}
+ // Process the PERCENT-COMPLETE value.
+
+ if (PercentCompleteData.size() > 0){
+
+ if (PercentCompleteTokens.size() > 0){
+
+ DataLine += "PERCENT-COMPLETE;";
+ DataLine += PercentCompleteTokens;
+
+ } else {
+
+ DataLine += "PERCENT-COMPLETE";
+
+ }
+
+ DataLine += ":";
+ DataLine += PercentCompleteData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
*SaveData += "END:VTODO\n";
}
\ No newline at end of file