The plain dash may look a bit too much like a trimix specification. Is
the ellipsis better? Maybe.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+#define UTF8_ELLIPSIS "\xE2\x80\xA6"
+
static void nitrox_data_func(GtkTreeViewColumn *col,
GtkCellRenderer *renderer,
GtkTreeModel *model,
static void nitrox_data_func(GtkTreeViewColumn *col,
GtkCellRenderer *renderer,
GtkTreeModel *model,
if (o2 == o2low)
snprintf(buffer, sizeof(buffer), "%d", o2);
else
if (o2 == o2low)
snprintf(buffer, sizeof(buffer), "%d", o2);
else
- snprintf(buffer, sizeof(buffer), "%d-%d", o2low, o2);
+ snprintf(buffer, sizeof(buffer), "%d" UTF8_ELLIPSIS "%d", o2low, o2);
else
strcpy(buffer, "air");
else
strcpy(buffer, "air");