• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamephpguicwindows翻訳pythonomegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

FreeTrainの進化系を目指す


Commit MetaInfo

Revision71 (tree)
Zeit2017-05-05 00:58:32
Autorc477

Log Message

Xmlリードの簡略化

Ändern Zusammenfassung

Diff

--- trunk/framework/util/XmlUtil.cs (revision 70)
+++ trunk/framework/util/XmlUtil.cs (revision 71)
@@ -156,7 +156,7 @@
156156 // TODO: Language Localizeation implements here
157157 using( FileStream file = new FileStream(path,FileMode.Open,FileAccess.Read,FileShare.ReadWrite) ) {
158158 XmlDocument doc = new XmlDocument();
159- XmlReader reader = XmlReader.Create(new XmlTextReader(path,file),null);
159+ XmlReader reader = XmlReader.Create(file,null,path);
160160 //reader.ValidationType = ValidationType.None;
161161 doc.Load(reader);
162162 return doc;