Fix up printing some more

Use the actual degree sign for temperatures (°F and °C), and make sure
everything uses the proper "set_source_rgb[a]()" wrappers to set the
colors.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2011-09-20 17:52:04 -07:00
parent 368623113c
commit 957aaf619f
3 changed files with 19 additions and 13 deletions

3
dive.h
View file

@ -242,4 +242,7 @@ extern int open_import_file_dialog(char *filterpattern, char *filtertext,
const char *weekday(int wday);
const char *monthname(int mon);
#define UTF8_DEGREE "\xc2\xb0"
#define UTF8_SUBSCRIPT_2 "\xe2\x82\x82"
#endif /* DIVE_H */