Skip to content

Commit

Permalink
Changed JSRunTime_size_mib key to jsruntime-size-mib for consistency …
Browse files Browse the repository at this point in the history
…with most other keys in .GNUstepDefaults.
  • Loading branch information
AnotherCommander committed Jul 2, 2020
1 parent 978ed69 commit 91ad883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Scripting/OOJavaScriptEngine.m
Expand Up @@ -279,7 +279,7 @@ - (id) init
assert(sizeof(jschar) == sizeof(unichar));

// initialize the JS run time, and return result in runtime.
uint32_t jsRuntimeInMiB = [defaults oo_intForKey:@"JSRunTime_size_mib" defaultValue:OOJS_RUNTIME_SIZE_MiB];
uint32_t jsRuntimeInMiB = [defaults oo_intForKey:@"jsruntime-size-mib" defaultValue:OOJS_RUNTIME_SIZE_MiB];
_runtime = JS_NewRuntime(jsRuntimeInMiB * 1024L * 1024L);

// if runtime creation failed, end the program here.
Expand Down

0 comments on commit 91ad883

Please sign in to comment.