Signed-off-by: Tomek Grabiec <[email protected]>
---
vm/utf8.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vm/utf8.c b/vm/utf8.c
index b55cda7..d3538d7 100644
--- a/vm/utf8.c
+++ b/vm/utf8.c
@@ -88,8 +88,8 @@ char *slash2dots(char *utf8)
char *result = strdup(utf8);
for (unsigned int i = 0, n = strlen(utf8); i < n; ++i) {
- if (result[i] == '.')
- result[i] = '/';
+ if (result[i] == '/')
+ result[i] = '.';
}
return result;
--
1.6.0.6
------------------------------------------------------------------------------
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel