aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/lyric_word.cpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-11-08 10:26:04 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:49 +0100
commitc1c799117e7076046182e12d71d06e2c9444e9be (patch)
tree7940de26d0c786134fa103703320bd3efcbba00c /src/base/lyric_word.cpp
parent31ba94d4efa6e3f64ffacf1711438e88d8b3035d (diff)
downloadusdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.gz
usdx-c1c799117e7076046182e12d71d06e2c9444e9be.tar.xz
usdx-c1c799117e7076046182e12d71d06e2c9444e9be.zip
changed all wstring/wchar_t to string/char
Diffstat (limited to '')
-rw-r--r--src/base/lyric_word.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/base/lyric_word.cpp b/src/base/lyric_word.cpp
index 979d02a9..c6c5d7d9 100644
--- a/src/base/lyric_word.cpp
+++ b/src/base/lyric_word.cpp
@@ -28,20 +28,20 @@
namespace usdx
{
- LyricWord::LyricWord(const wchar_t type,
+ LyricWord::LyricWord(const char type,
const int beat,
const int length,
const int height,
- const std::wstring& lyric) :
+ const std::string& lyric) :
beat(beat), length(length), height(height), text(lyric)
{
- if (type == L':') {
+ if (type == ':') {
this->type = nt_normal;
}
- else if (type == L'*') {
+ else if (type == '*') {
this->type = nt_golden;
}
- else if (type == L'F') {
+ else if (type == 'F') {
this->type = nt_freestyle;
}
}