diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-09 09:22:45 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-09 09:22:45 -0800 |
commit | 961f29613197bace7925d14f492114fea7b81214 (patch) | |
tree | 7facfab191be5b2a911761b3fa87503d4d1bc1fa /undo.lua | |
parent | 366d806515a724d2ad46900de235e42349d181d0 (diff) | |
download | view.love-961f29613197bace7925d14f492114fea7b81214.tar.gz |
fix a couple of asserts missed in the recent audit
Diffstat (limited to 'undo.lua')
-rw-r--r-- | undo.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/undo.lua b/undo.lua index 1ed3ce7..e5dea93 100644 --- a/undo.lua +++ b/undo.lua @@ -65,7 +65,6 @@ function snapshot(State, s,e) elseif line.mode == 'drawing' then table.insert(event.lines, {mode='drawing', h=line.h, points=deepcopy(line.points), shapes=deepcopy(line.shapes), pending={}}) else - print(line.mode) assert(false, ('unknown line mode %s'):format(line.mode)) end end |