]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_scan.c
Reset done in inc_done() to prevent endless loop when setegid()
[nmh] / sbr / fmt_scan.c
index 97a4a05..ec60e1b 100644 (file)
@@ -745,6 +745,9 @@ fmt_scan (struct format *format, charstring_t scanlp, int width, int *dat,
        case FT_LV_MINUS_L:
            value = fmt->f_value - value;
            break;
+       case FT_LV_MULTIPLY_L:
+           value *= fmt->f_value;
+           break;
        case FT_LV_DIVIDE_L:
            if (fmt->f_value)
                value = value / fmt->f_value;