aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library.js4
-rw-r--r--src/library_sdl.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/library.js b/src/library.js
index e225591e..2a4a5e7d 100644
--- a/src/library.js
+++ b/src/library.js
@@ -2214,7 +2214,7 @@ LibraryManager.library = {
_formatString: function(format, varargs) {
var textIndex = format;
var argIndex = 0;
- var getNextArg = function(type) {
+ function getNextArg(type) {
// NOTE: Explicitly ignoring type safety. Otherwise this fails:
// int x = 4; printf("%c\n", (char)x);
var ret;
@@ -2231,7 +2231,7 @@ LibraryManager.library = {
}
argIndex += Runtime.getNativeFieldSize(type);
return Number(ret);
- };
+ }
var ret = [];
var curr, next, currArg;
diff --git a/src/library_sdl.js b/src/library_sdl.js
index 9e305bec..5797ccec 100644
--- a/src/library_sdl.js
+++ b/src/library_sdl.js
@@ -83,7 +83,7 @@
// solution here is to have a singleIteration() function which is a single loop
// iteration, and from JS to do something like setInterval(_singleIteration, 1/30)
//
-// * SQL_Quit does nothing.
+// * SDL_Quit does nothing.
mergeInto(LibraryManager.library, {
$SDL__deps: ['$Browser'],
@@ -265,7 +265,7 @@ mergeInto(LibraryManager.library, {
},
SDL_Quit: function() {
- print('SQL_Quit called (and ignored)');
+ print('SDL_Quit called (and ignored)');
},
SDL_LockSurface: function(surf) {