SCI: Do not map SetScroll twice

This commit is contained in:
Filippos Karapetis 2016-01-15 21:34:42 +02:00
parent f3cdd217ba
commit f2e80ffc7f

View File

@ -627,11 +627,6 @@ static SciKernelMapEntry s_kernelMap[] = {
{ MAP_DUMMY(InputText), SIG_EVERYWHERE, "(.*)", NULL, NULL },
{ MAP_DUMMY(TextWidth), SIG_EVERYWHERE, "(.*)", NULL, NULL },
{ MAP_DUMMY(PointSize), SIG_EVERYWHERE, "(.*)", NULL, NULL },
// SetScroll is called by script 64909, Styler::doit(), but it doesn't seem to
// be used at all (plus, it was then changed to a dummy function in SCI3).
// Since this is most likely unused, and we got no test case, error out when
// it is called in order to find an actual call to it.
{ MAP_DUMMY(SetScroll), SIG_EVERYWHERE, "(.*)", NULL, NULL },
// SCI2.1 Kernel Functions
{ MAP_CALL(CD), SIG_EVERYWHERE, "(.*)", NULL, NULL },