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
|
try
|
||||||
{
|
{
|
||||||
fiown = new FileInfo("RoEditor.own");
|
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);
|
TextReader tr = new StreamReader(fsown);
|
||||||
string who = tr.ReadToEnd();
|
string who = tr.ReadToEnd();
|
||||||
tr.Close();
|
tr.Close();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user