[shared] GlobalContext: change name RecordBaseNameIsFree -->

SymbolAbstractNameIsFree
This commit is contained in:
Émilie Feral
2018-10-12 15:04:01 +02:00
parent 2180588484
commit 23e9827524
3 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ void StorageCartesianFunction::DefaultName(char buffer[], size_t bufferSize) {
int availableBufferSize = bufferSize - constantNameLength;
while (currentNumberLength < availableBufferSize) {
currentNumberLength = Poincare::Integer(currentNumber).serialize(&buffer[1], availableBufferSize);
if (GlobalContext::RecordBaseNameIsFree(buffer)) {
if (GlobalContext::SymbolAbstractNameIsFree(buffer)) {
// Name found
break;
}