summaryrefslogtreecommitdiff
path: root/fluid/undo.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-12-04 14:22:15 +0100
committerMatthias Melcher <github@matthiasm.com>2024-12-04 14:22:21 +0100
commit7d964d92aef46dab31a9d36cbeba1d5905e22430 (patch)
treed892c8eb1e68e6731026b940d21fed74d4c31f6a /fluid/undo.cxx
parent8df4f8e398cffe69b2fa5fe2b608cfba72de9308 (diff)
FLUID: minor improvemnets to buffer handling (#1152)
The described crash can not be reproduced. The changes improve the stability of the call that causes the crash.
Diffstat (limited to 'fluid/undo.cxx')
-rw-r--r--fluid/undo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/undo.cxx b/fluid/undo.cxx
index 67c800baa..3738d9d71 100644
--- a/fluid/undo.cxx
+++ b/fluid/undo.cxx
@@ -156,7 +156,7 @@ void undo_cb(Fl_Widget *, void *) {
}
}
// Restore old browser position.
- // Ideally, we would save the browser position insied the undo file.
+ // Ideally, we would save the browser position inside the undo file.
if (widget_browser) widget_browser->restore_scroll_position();
undo_current --;
@@ -178,7 +178,7 @@ void undo_checkpoint_once(int type) {
undo_checkpoint();
undo_once_type = type;
} else {
- // do not add more checkpoints for the same undo typw
+ // do not add more checkpoints for the same undo type
}
}