Fix typo in scripting.c comment

Closes #1960