aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/textadept.c b/src/textadept.c
index dec065f1..eba730a1 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -467,8 +467,7 @@ static gbool cec_match_selected(GtkEntryCompletion*, GtkTreeModel *model,
* Signal for a Scintilla notification.
*/
static void t_notification(GtkWidget*, gint, gpointer lParam, gpointer) {
- SCNotification *n = reinterpret_cast<SCNotification*>(lParam);
- l_handle_scnnotification(n);
+ l_handle_scnnotification(reinterpret_cast<SCNotification*>(lParam));
}
/**