Browse Source

use StringBuf.addChar(i) instead of StringBuf.add(String.fromCharCode(i))

Dan Korostelev 8 years ago
parent
commit
2cc9d56473
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/haxe/io/Path.hx

+ 1 - 1
std/haxe/io/Path.hx

@@ -241,7 +241,7 @@ class Path {
 						acc.add("/");
 						slashes = false;
 					}
-					acc.add(String.fromCharCode(i));
+					acc.addChar(i);
 			}
 		}
 		return acc.toString();