mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-22 10:42:10 +10:00
Merge branch 'master' into esp32
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ void WiFiManagerParameter::init(const char *id, const char *placeholder, const c
|
|||||||
_length = length;
|
_length = length;
|
||||||
_labelPlacement = labelPlacement;
|
_labelPlacement = labelPlacement;
|
||||||
_value = new char[length + 1];
|
_value = new char[length + 1];
|
||||||
for (int i = 0; i < length; i++) {
|
for (int i = 0; i < length + 1; i++) {
|
||||||
_value[i] = 0;
|
_value[i] = 0;
|
||||||
}
|
}
|
||||||
if (defaultValue != NULL) {
|
if (defaultValue != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user