浏览代码

a terrible typo!

jmelesky 7 年之前
父节点
当前提交
e05ca8941c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lesson02/src/main.rs

+ 1 - 1
lesson02/src/main.rs

@@ -30,7 +30,7 @@ fn init() -> Canvas<Window> {
         Err(err)  => panic!("Could not gain access to the SDL2 video subsystem. Error: {}", err),
         Err(err)  => panic!("Could not gain access to the SDL2 video subsystem. Error: {}", err),
     };
     };
 
 
-    let window = match video.window("SDL Tutorial, lesson 01", WIDTH, HEIGHT)
+    let window = match video.window("SDL Tutorial, lesson 02", WIDTH, HEIGHT)
         .position_centered()
         .position_centered()
         .opengl()
         .opengl()
         .build() {
         .build() {