mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-27 10:59:13 -04:00
Remove null terminating chars from profile names before using them in ProfileManager
This commit is contained in:
1 parent
6d562d8d37
commit
2eb43fa445
3 files changed
+21
-1
No files matched your search
@@ -1,10 +1,13 @@
|
||||
#ifndef STRING_UTILS_H
|
||||
#define STRING_UTILS_H
|
||||
|
||||
#include <string>
|
||||
|
||||
class StringUtils
|
||||
{
|
||||
public:
|
||||
static const char* wchar_to_char(const wchar_t* pwchar);
|
||||
static const std::string remove_null_terminating_chars(std::string input);
|
||||
};
|
||||
|
||||
#endif // STRING_UTILS_H
|
||||
Reference in new issue
Block a user