aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-03 09:01:14 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-03 10:42:30 +0200
commitbe20a78ab01b924fc1261ff3c71361feb440e592 (patch)
treef4c54eac158ee92b5dca42d6967fa1b2b5135cde /include
parent522c6ea14cd2c1569ce5ff24c0241edba1835308 (diff)
xv: fix missing search results, incorrect title to thumbnail matches
Diffstat (limited to 'include')
-rw-r--r--include/StringUtils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/StringUtils.hpp b/include/StringUtils.hpp
index 6554ea7..29befc7 100644
--- a/include/StringUtils.hpp
+++ b/include/StringUtils.hpp
@@ -22,6 +22,9 @@ namespace QuickMedia {
char to_upper(char c);
bool strncase_equals(const char *str1, const char *str2, size_t length);
bool strcase_equals(const char *str1, const char *str2);
+ // Note: does not check for overflow
bool to_num(const char *str, size_t size, int &num);
+ // Note: does not check for overflow
+ bool to_num_hex(const char *str, size_t size, int &num);
std::string seconds_to_relative_time_str(time_t seconds);
} \ No newline at end of file