Changed version # in binary output file

Kept version number at 20012 in binary output file so that the existing EPANET GUI can use this EPANET DLL.
This commit is contained in:
Lew Rossman
2018-05-24 09:35:49 -04:00
parent 24d6b91607
commit 4d1cd779ca
2 changed files with 6 additions and 1 deletions

View File

@@ -1,7 +1,11 @@
MIT License MIT License
<<<<<<< HEAD
Works are copyright (c) 2018 their respective AUTHORS, Works are copyright (c) 2018 their respective AUTHORS,
unless such work is in the Public Domain (again, see AUTHORS) unless such work is in the Public Domain (again, see AUTHORS)
=======
Copyright (c) 2017 Open Water Analytics
>>>>>>> master
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -70,7 +70,8 @@ int savenetdata(EN_Project *pr)
ibuf[0] = MAGICNUMBER; ibuf[0] = MAGICNUMBER;
/*** CODEVERSION replaces VERSION ***/ /*** CODEVERSION replaces VERSION ***/
ibuf[1] = CODEVERSION; //ibuf[1] = CODEVERSION;
ibuf[1] = 20012; // keep version at 2.00.12 so that GUI will run
ibuf[2] = net->Nnodes; ibuf[2] = net->Nnodes;
ibuf[3] = net->Ntanks; ibuf[3] = net->Ntanks;