]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf-input.c
bugfix in area-based image scaling
[libucw.git] / lib / conf-input.c
index e44cba1b3dcf9c025fd92b0b0230800812c35db6..37147a8de336b8eff886f5a1a21354ff92f85980 100644 (file)
@@ -247,7 +247,11 @@ parse_fastbuf(byte *name_fb, struct fastbuf *fb, uns depth)
       switch (Clocase(*c)) {
        case 's': op = OP_SET; break;
        case 'c': op = Clocase(c[1]) == 'l' ? OP_CLEAR: OP_COPY; break;
-       case 'a': op = Clocase(c[1]) == 'p' ? OP_APPEND : OP_AFTER; break;
+       case 'a': switch (Clocase(c[1])) {
+                   case 'p': op = OP_APPEND; break;
+                   case 'f': op = OP_AFTER; break;
+                   default: op = OP_ALL;
+                 }; break;
        case 'p': op = OP_PREPEND; break;
        case 'r': op = OP_REMOVE; break;
        case 'e': op = OP_EDIT; break;