From c0b89ac5bfb90835ef01573267020e42d4fe070c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 23 Aug 2015 12:17:05 +0200 Subject: Imported Upstream version 1.8.0 --- profile/profout.c | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 profile/profout.c (limited to 'profile/profout.c') diff --git a/profile/profout.c b/profile/profout.c old mode 100644 new mode 100755 index 790ffa4..1a6f4ae --- a/profile/profout.c +++ b/profile/profout.c @@ -1720,6 +1720,9 @@ make_output_icc( if ((spi[j] = icg->find_field(icg, 0, buf)) < 0) error("Input file doesn't contain field %s",buf); + + if (icg->t[0].ftype[spi[j]] != r_t) + error("Field %s is wrong type - expect float",buf); } if (isdisp) { -- cgit v1.2.3