summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-15 22:58:21 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-22 01:21:00 +0100
commitdd0db15b82a0b40b1271bad122c874d458c0fef4 (patch)
tree201b4efac6915353e9635f230b3a08297be87dd7 /src/util.h
parent82c72bf1a25891d5053b7b4fb1f7d2bab9d7fd13 (diff)
Add fix_empty_font_ids() to replace empty Font ids with a dummy string.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index b2bddd5a..2626162a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -78,6 +78,7 @@ extern std::string spaces (int n);
extern void indent (xmlpp::Element* element, int initial);
extern bool day_less_than_or_equal (struct tm a, LocalTime b);
extern bool day_greater_than_or_equal (struct tm a, LocalTime b);
+extern std::string unique_string (std::list<std::string> existing, std::string base);
}