Fixed some syntax errors and clang compiling warnings
GCC/VS2013/Clang is tested
This commit is contained in:
@@ -49,13 +49,13 @@ namespace nana
|
||||
|
||||
void trigger::week_name(unsigned index, const nana::string& str)
|
||||
{
|
||||
if(0 <= index && index < 7)
|
||||
if(index < 7)
|
||||
this->weekstr_[index] = str;
|
||||
}
|
||||
|
||||
void trigger::month_name(unsigned index, const nana::string& str)
|
||||
{
|
||||
if(0 <= index && index < 12)
|
||||
if(index < 12)
|
||||
this->monthstr_[index] = str;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user