Browse Source

git pushMerge branch 'develop' of github.com:ethereum/cpp-ethereum into develop

cl-refactor
Gav Wood 11 years ago
parent
commit
b26537a42a
  1. 4
      neth/main.cpp

4
neth/main.cpp

@ -1022,7 +1022,7 @@ vector<string> form_dialog(vector<string> _sv, vector<string> _lv, vector<string
int _lfields = _lv.size();
int _bfields = _bv.size();
int maxfields = _sfields + _lfields + _bfields;
vector<FIELD*> field(maxfields);
vector<FIELD*> field(maxfields + 1);
int ch;
int starty = 6;
@ -1058,6 +1058,8 @@ vector<string> form_dialog(vector<string> _sv, vector<string> _lv, vector<string
set_field_back(field[bi], A_UNDERLINE);
starty += 4;
}
// The FORM expects a NULL terminated list of fields
field[maxfields] = NULL;
// Create the form and post it

Loading…
Cancel
Save