[apps/escher/poincare] Change KDText::FontSize to KDFont

This commit is contained in:
Léa Saviot
2018-10-19 16:05:26 +02:00
committed by Émilie Feral
parent 01e433a9f2
commit 71d8358722
23 changed files with 46 additions and 43 deletions

View File

@@ -333,7 +333,7 @@ void ConsoleController::autoImportScript(Script script, bool force) {
if (script.importationStatus() || force) {
// Step 1 - Create the command "from scriptName import *".
assert(strlen(k_importCommand1) + strlen(script.name()) - strlen(ScriptStore::k_scriptExtension) + strlen(k_importCommand2) + 1 <= k_maxImportCommandSize);
assert(strlen(k_importCommand1) + strlen(script.fullName()) - strlen(ScriptStore::k_scriptExtension) - 1 + strlen(k_importCommand2) + 1 <= k_maxImportCommandSize);
char command[k_maxImportCommandSize];
// Copy "from "