diff options
Diffstat (limited to '')
-rw-r--r-- | src/base/lyric_word.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/base/lyric_word.cpp b/src/base/lyric_word.cpp index c6c5d7d9..979d02a9 100644 --- a/src/base/lyric_word.cpp +++ b/src/base/lyric_word.cpp @@ -28,20 +28,20 @@ namespace usdx { - LyricWord::LyricWord(const char type, + LyricWord::LyricWord(const wchar_t type, const int beat, const int length, const int height, - const std::string& lyric) : + const std::wstring& lyric) : beat(beat), length(length), height(height), text(lyric) { - if (type == ':') { + if (type == L':') { this->type = nt_normal; } - else if (type == '*') { + else if (type == L'*') { this->type = nt_golden; } - else if (type == 'F') { + else if (type == L'F') { this->type = nt_freestyle; } } |