pike.git
/
src
/
modules
/
Image
/
match.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/Image/match.h:36:
int foo=0; float scale; int needle_average=0; int needle_size=0; if (!THIS->img) { error("no image\n"); return; } this=THIS; haystacki=this->img; haystack=this; if (!args) { error("Missing arguments to image->"NAME"\n"); return; }
-
else if (args<2) { error("
To
few arguments to image->"NAME"\n"); return; }
+
else if (args<2) { error("
Too
few arguments to image->"NAME"\n"); return; }
else { if (sp[-args].type==T_INT) scale=sp[-args].u.integer; else if (sp[-args].type==T_FLOAT) scale=sp[-args].u.float_number; else error("Illegal argument 1 to image->"NAME"\n"); if ((sp[1-args].type!=T_OBJECT)