mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Test: strcpy isn't available on the device
This commit is contained in:
@@ -18,7 +18,7 @@ void assert_variables_are(const char * script, const char * nameToComplete, cons
|
||||
.buffer = &dataBuffer,
|
||||
.size = dataBufferSize
|
||||
};
|
||||
strcpy(dataBuffer, script);
|
||||
strlcpy(dataBuffer, script, dataBufferSize);
|
||||
constexpr int scriptIndex = 0;
|
||||
store.scriptAtIndex(scriptIndex).setValue(data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user