Skip to content
Snippets Groups Projects
Commit 34bfc94b authored by rswindell's avatar rswindell
Browse files

NODE.DAB is opened read-only.

parent 926ba890
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ void __fastcall TNodeForm::TimerTick(TObject *Sender)
if(nodedab<1) {
nodedab=_sopen(AnsiString(MainForm->CtrlDirectory+"NODE.DAB").c_str()
,O_RDWR|O_BINARY|O_CREAT, SH_DENYNONE, S_IREAD|S_IWRITE);
,O_RDONLY|O_BINARY|O_CREAT, SH_DENYNONE, S_IREAD|S_IWRITE);
if(nodedab==-1) {
ListBox->Items->Clear();
ListBox->Items->Add("Error opening NODE.DAB");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment