Fix spelling, grammar, and formatting issues.
Change-Id: Ie433486c36a75699e55427fa8be496f7bfbf7f1d
diff --git a/lib/ExecutionEngine/Script.cpp b/lib/ExecutionEngine/Script.cpp
index ac231b4..4b0b406 100644
--- a/lib/ExecutionEngine/Script.cpp
+++ b/lib/ExecutionEngine/Script.cpp
@@ -401,7 +401,7 @@
}
int Script::writeCache() {
- // Not compiled script or encouter error during the compilation.
+ // Not compiled script or encountered error during the compilation.
if ((mStatus != ScriptStatus::Compiled) ||
(getCompilerErrorMessage() == NULL))
return 1;