From 7dc2589b3eb18e3f5c7792b88de504ac3675b690 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Fri, 24 Dec 2021 14:04:57 +0100 Subject: [PATCH] Fix right_string --- StringUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StringUtils.h b/StringUtils.h index c9c2969..bde9d7f 100644 --- a/StringUtils.h +++ b/StringUtils.h @@ -25,7 +25,7 @@ #include #define wxT(x) std::string(x) -#define string_right(s,l) (s.substr(s.length() - 1, l)) +#define string_right(s,l) (s.substr(s.length() - l, l)) template std::string string_format( const std::string& format, Args ... args ); \ No newline at end of file