Selaa lähdekoodia

Addressed issue: Incorrect value loaded when an attribute value is "".


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@74 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 vuotta sitten
vanhempi
commit
9b4542bdad
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      configuration.cpp

+ 2
- 1
configuration.cpp Näytä tiedosto

@@ -1118,7 +1118,8 @@ bool ConfigurationAttribute::interpret(ConfigurationData& 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.

NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines.

Loading…
Peruuta
Tallenna