Changed the Open of the ROEditor.own file to an OpenOrCreate
This commit is contained in:
parent
73ce62d4c8
commit
36cafa9085
@ -1547,7 +1547,7 @@ namespace ROEditor
|
||||
try
|
||||
{
|
||||
fiown = new FileInfo("RoEditor.own");
|
||||
fsown = fiown.Open(FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
|
||||
fsown = fiown.Open(FileMode.OpenOrCreate, FileAccess.Read, FileShare.ReadWrite);
|
||||
TextReader tr = new StreamReader(fsown);
|
||||
string who = tr.ReadToEnd();
|
||||
tr.Close();
|
||||
|
Loading…
x
Reference in New Issue
Block a user