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