diff --git a/src/sp-metrics.cpp b/src/sp-metrics.cpp
index 27d65422fc397b4f6dca08a30ed07e6bfb665e19..e3d8c3fe19bad2c66f9bd2b7d5ff77f16b0ef1a7 100644 (file)
--- a/src/sp-metrics.cpp
+++ b/src/sp-metrics.cpp
/*
* SPMetric handling and stuff
- * I hope this will be usefull :-)
+ * I hope this will be usefull :-)
*/
gdouble
case SP_IN:
src = IN_PER_IN;
break;
+ case SP_FT:
+ src = FT_PER_IN;
+ break;
case SP_PT:
src = PT_PER_IN;
break;
+ case SP_PC:
+ src = PC_PER_IN;
+ break;
case SP_PX:
src = PX_PER_IN;
break;
case SP_IN:
dst = IN_PER_IN;
break;
+ case SP_FT:
+ dst = FT_PER_IN;
+ break;
case SP_PT:
dst = PT_PER_IN;
break;
+ case SP_PC:
+ dst = PC_PER_IN;
+ break;
case SP_PX:
dst = PX_PER_IN;
break;
{
gdouble const len = sp_absolute_metric_to_metric(length, metric_src, metric_dst);
GString *str = g_string_new("");
- g_string_printf(str, "%0.02f", len);
+ g_string_printf(str, "%0.02f", len);
/* We need a fixed number of fractional digits, because otherwise the live statusbar display of
* lengths will be too jerky */