]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scripting/NasalCanvas.cxx
Expose SGCondition as a ghost to Nasal directly.
[flightgear.git] / src / Scripting / NasalCanvas.cxx
index bbafebd0a4be62150e6facdd354795c2f0973732..61bc3e932d627dd8a456e309ef4790c58a0153cc 100644 (file)
@@ -232,7 +232,7 @@ static naRef f_canvas(naContext c, naRef me, int argc, naRef* args)
 
 // Table of extension functions.  Terminate with zeros.
 static struct { const char* name; naCFunction func; } funcs[] = {
-  { "canvas", f_canvas },
+  { "getCanvas", f_canvas },
   { 0, 0 }
 };