version 1.48, 2014/04/20 16:46:05 |
version 1.50, 2014/08/10 23:54:41 |
|
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
#ifdef HAVE_CONFIG_H |
|
#include "config.h" |
#include "config.h" |
#endif |
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
Line 128 a2roffsu(const char *src, struct roffsu *dst, enum rof |
|
Line 126 a2roffsu(const char *src, struct roffsu *dst, enum rof |
|
} |
} |
|
|
/* FIXME: do this in the caller. */ |
/* FIXME: do this in the caller. */ |
if ((dst->scale = atof(buf)) < 0) |
if ((dst->scale = atof(buf)) < 0.0) |
dst->scale = 0; |
dst->scale = 0.0; |
dst->unit = unit; |
dst->unit = unit; |
return(1); |
return(1); |
} |
} |