Parcourir la source

it's msvcrt not msvrt

frabbit il y a 11 ans
Parent
commit
fe383b9161
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      std/python/_std/Sys.hx
  2. 2 2
      std/python/lib/Msvcrt.hx

+ 1 - 1
std/python/_std/Sys.hx

@@ -93,7 +93,7 @@ class Sys {
 				}
 
 			case "win32" | "cygwin":
-				python.lib.Msvrt.getch();
+				python.lib.Msvcrt.getch();
 			case x :
 				throw "platform " + x + " not supported";
 		}

+ 2 - 2
std/python/lib/Msvrt.hx → std/python/lib/Msvcrt.hx

@@ -1,14 +1,14 @@
 
 package python.lib;
 
-extern class Msvrt {
+extern class Msvcrt {
 
 	public static function getch ():String;
 
 	static function __init__ ():Void
 	{
 		try {
-			python.Macros.importAs("msvrt", "python.lib.Msvrt");
+			python.Macros.importAs("msvrt", "python.lib.Msvcrt");
 		} catch (e:Dynamic) {}
 	}