aboutsummaryrefslogtreecommitdiff
path: root/src/undo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/undo.rs')
-rw-r--r--src/undo.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/undo.rs b/src/undo.rs
index 2249fe7..b590312 100644
--- a/src/undo.rs
+++ b/src/undo.rs
@@ -1,12 +1,12 @@
1#[derive(Copy, Clone, Debug)] 1#[derive(Copy, Clone, Debug)]
2pub struct ModifyRecord { 2pub struct ModifyRecord {
3 pub point: (i32, i32), 3 pub point: (u32, u32),
4 pub old_val: bool, 4 pub old_val: bool,
5 pub val: bool, 5 pub val: bool,
6} 6}
7 7
8impl ModifyRecord { 8impl ModifyRecord {
9 pub fn new(point: (i32, i32), old_val: bool, val: bool) -> Self { 9 pub fn new(point: (u32, u32), old_val: bool, val: bool) -> Self {
10 ModifyRecord { 10 ModifyRecord {
11 point, 11 point,
12 old_val, 12 old_val,