aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface-ncurses.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 15:04:28 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 15:04:28 +0100
commit47c7925ca36cbb078391aea90aa2714bdeea949c (patch)
tree00b0b9780010e59d5d1aae6ca2e077f14e00913d /interface-ncurses.cpp
parent4293ad5122c7ab9d5f2b2e50db3c5959d507a06b (diff)
downloadsciteco-47c7925ca36cbb078391aea90aa2714bdeea949c.tar.gz
NCURSES: simplified notification callback a bit
unfortunately it's currently not possible to use the SCN_UPDATEUI notification to refresh the view only if necessary
Diffstat (limited to 'interface-ncurses.cpp')
-rw-r--r--interface-ncurses.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-ncurses.cpp b/interface-ncurses.cpp
index 9d4c4fe..da54c9c 100644
--- a/interface-ncurses.cpp
+++ b/interface-ncurses.cpp
@@ -327,9 +327,7 @@ InterfaceNCurses::~InterfaceNCurses()
*/
static void
-scintilla_notify(Scintilla *sci, int idFrom, void *_notify, void *user_data)
+scintilla_notify(Scintilla *sci, int idFrom, void *notify, void *user_data)
{
- SCNotification *notify = (SCNotification *)_notify;
-
- interface.process_notify(notify);
+ interface.process_notify((SCNotification *)notify);
}