summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/text-edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/text-edit.cpp')
-rw-r--r--src/ui/dialog/text-edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/text-edit.cpp b/src/ui/dialog/text-edit.cpp
index bb634197c..1a9c7e99f 100644
--- a/src/ui/dialog/text-edit.cpp
+++ b/src/ui/dialog/text-edit.cpp
@@ -646,7 +646,7 @@ void TextEdit::onToggle()
void TextEdit::onLineSpacingChange(GtkComboBox* widget, gpointer data)
{
- TextEdit *self = (TextEdit *)data;
+ TextEdit *self = static_cast<TextEdit *>(data);
if (!self || self->blocked)
return;