[ion] Fix Storage:fullNameCompliant

This commit is contained in:
Léa Saviot
2018-09-28 10:06:08 +02:00
committed by Émilie Feral
parent 852a278285
commit f71773bb8d

View File

@@ -373,7 +373,7 @@ bool Storage::fullNameCompliant(const char * fullName) {
if (dotChar == nullptr) {
return false;
}
if (strchr(dotChar, k_dotChar) == nullptr) {
if (strchr(dotChar+1, k_dotChar) == nullptr) {
return true;
}
return false;