From 8c820221685386261115bc24b2302c2c9cb4ef68 Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Wed, 11 Dec 2019 13:00:38 -0700 Subject: [PATCH] typos --- scripts/demo1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/demo1.py b/scripts/demo1.py index 93a7fe7..5a1c37e 100755 --- a/scripts/demo1.py +++ b/scripts/demo1.py @@ -48,12 +48,12 @@ def rubberband_line(x, y, down, up): hdc.rop2 = upiwin.R2_XORPEN if not down: hdc.move_to(origin_x, origin_y) - hdc_line_to(current_x, current_y) + hdc.line_to(current_x, current_y) current_x = x current_y = y if not up: hdc.move_to(origin_x, origin_y) - hdc_line_to(current_x, current_y) + hdc.line_to(current_x, current_y)