Changeset

6385:d87195d53d84

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 03 Sep 2014 03:35:48 +0200
parents 6383:ec8878113907 (current diff) 6384:3f4809d01783 (diff)
children 6388:264c7c45c381
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/hex.lua	Tue Sep 02 22:34:32 2014 +0200
+++ b/util/hex.lua	Wed Sep 03 03:35:48 2014 +0200
@@ -8,11 +8,11 @@
 	return s_char(tonumber(h, 16));
 end
 
-function to(s)
+local function to(s)
 	return s:gsub(".", char_to_hex);
 end
 
-function from(s)
+local function from(s)
 	return s:gsub("..", hex_to_char);
 end