mirror of
https://git.wuffs.org/MWCC
synced 2025-12-13 23:26:14 +00:00
more cleanup
This commit is contained in:
@@ -463,13 +463,13 @@ void Framework_GetEnvInfo(void) {
|
||||
|
||||
if (path[0]) {
|
||||
if (strlen(path) >= sizeof(path)) {
|
||||
CLReportError(64, sizeof(path), path);
|
||||
CLReportError(CLStr64, sizeof(path), path);
|
||||
} else {
|
||||
err = OS_MakeSpec(path, &spec, &is_file);
|
||||
if (!is_file && !err) {
|
||||
Frameworks_AddPath(&spec.path);
|
||||
} else {
|
||||
CLReportError(23, path);
|
||||
CLReportError(CLStr23, path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user