summaryrefslogtreecommitdiff
path: root/js/png.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/png.js')
-rw-r--r--js/png.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/png.js b/js/png.js
index 3c165dc..df9960c 100644
--- a/js/png.js
+++ b/js/png.js
@@ -173,7 +173,8 @@ var read_cstring = function(u8, pos){
if (u8[pos] === 0) return str
str += String.fromCharCode(u8[pos])
pos++
- }
+ }
+ return str
}
var decode_itxt_chunk = function(chunk){