git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@74 d34b734f-a00e-4b39-a726-e4eeb87269abadeniz_1
| // Read our data. | // Read our data. | ||||
| int BfrSize = Stopdex - Startdex; // How big a buffer do we need? | |||||
| int BfrSize = Stopdex - Startdex + 1; // How big a buffer do we need? | |||||
| // Add byte for null terminator. | |||||
| char Bfr[BfrSize]; // Make one that size. | char Bfr[BfrSize]; // Make one that size. | ||||
| NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines. | NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines. |