Skip to content

Commit

Permalink
Fix bad _strlen dep in _formatString function.
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Dec 10, 2019
1 parent 499dcff commit 4b8208b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/deps_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"__cxa_end_catch": ["free"],
"__cxa_allocate_exception": ["malloc"],
"__cxa_free_exception": ["free"],
"emscripten_log": ["strlen"],
"_formatString": ["strlen"],
"setjmp": ["realloc"],
"saveSetjmp": ["realloc"],
"glfwSleep": ["sleep"],
Expand Down
2 changes: 1 addition & 1 deletion src/library_formatString.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mergeInto(LibraryManager.library, {
// format: A pointer to the format string.
// varargs: A pointer to the start of the arguments list.
// Returns the resulting string string as a character array.
_formatString__deps: ['strlen', '_reallyNegative'],
_formatString__deps: ['_reallyNegative'],
_formatString: function(format, varargs) {
assert((varargs & 3) === 0);
var textIndex = format;
Expand Down

0 comments on commit 4b8208b

Please sign in to comment.