+ line shifter and bla
This commit is contained in:
@@ -218,6 +218,10 @@ switch (idFx) {
|
||||
retval = random_blocks(image, 70);
|
||||
break;
|
||||
|
||||
case CR_shiftln0:
|
||||
retval = multilines_shift_0(image, 11, 120);
|
||||
break;
|
||||
|
||||
case CR_message:
|
||||
fprintf(stderr, "### message from pid %d, fv=%f ###\n",
|
||||
getpid(), fval);
|
||||
@@ -289,18 +293,15 @@ return "???";
|
||||
/* -------------------------------------------------------------- */
|
||||
int crap_number_from_name(char *name)
|
||||
{
|
||||
int idx, foo, retval;
|
||||
int idx, retval;
|
||||
|
||||
#if DEBUG_LEVEL
|
||||
fprintf(stderr, ">>> %s ( '%s' )\n", __func__, name);
|
||||
#endif
|
||||
|
||||
retval = -1; /* not found */
|
||||
|
||||
for (idx=0; CrapL[idx].id!=-1; idx++) {
|
||||
|
||||
foo = strcmp(CrapL[idx].name, name);
|
||||
if (0 == foo) {
|
||||
if (0 == strcmp(CrapL[idx].name, name)) {
|
||||
// fprintf(stderr, "found '%s' -> %d\n", name,
|
||||
// CrapL[idx].id);
|
||||
retval = CrapL[idx].id;
|
||||
|
||||
Reference in New Issue
Block a user